@font-face {
    font-family: 'Inter v';
    src: url('../fonts/Inter-V.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    background: #F5F0EA;
    font-family: 'Inter v', system-ui, sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-contact-phone {
    font-family: 'Inter v'; 
    color: #F5F0EA; 
    background-color: #576FD3; 
    padding: 15px 40px; 
    border-radius: 100px; 
    text-decoration: none; 
    font-size: 20px; 
    font-weight: bold;
}

.header {
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 53px;
}

.header-logo {
    height: 100%;
    display: block;
    text-decoration: none;
}

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

.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #403D39;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.2s;
}

.header-burger:hover {
    background: #576FD3;
}

.header-burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #F5F0EA;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.header-burger.is-active .header-burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header-burger.is-active .header-burger-line:nth-child(2) {
    opacity: 0;
}

.header-burger.is-active .header-burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-nav-list {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #403D39;
    padding: 15px 60px;
    border-radius: 100px;
}

.header-nav-item {
    font-family: 'Inter v';
    font-size: 20px;
    font-weight: normal;
    color: #F5F0EA;
    text-decoration: none;
    &:hover {
        color: #576FD3;
    }
}

.header-nav-item a {
    color: #F5F0EA;
    text-decoration: none;
}

.header-nav-item a:hover {
    color: #576FD3;
}

.header-nav-phone {
    display: none;
}

.header-nav-overlay {
    display: none;
}

/* Header responsiveness (tablet / small desktop) */
@media (max-width: 1100px) {
    .header {
        margin: 32px auto;
    }

    .header-nav-list {
        gap: 28px;
        padding: 12px 32px;
    }

    .header-nav-item {
        font-size: 18px;
    }

    .header-contact-phone {
        padding: 12px 24px;
        font-size: 18px;
    }
}

@media (max-width: 980px) {
    .header {
        flex-wrap: nowrap;
        gap: 0;
        margin: 24px auto;
    }

    .header-burger {
        display: flex;
        margin-left: auto;
    }

    .header-contact {
        display: none;
    }

    .header-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .header-nav-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: #403D39;
        padding: 80px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    }

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

    .header-nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: none;
        border-radius: 0;
    }

    .header-nav-item {
        font-size: 18px;
        border-bottom: 1px solid rgba(245, 240, 234, 0.2);
    }

    .header-nav-item a {
        display: block;
        padding: 16px 0;
    }

    .header-nav-phone {
        display: block;
        margin-top: 24px;
        padding: 14px 24px;
        background: #576FD3;
        color: #F5F0EA;
        text-align: center;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    .header-nav-phone:hover {
        background: #4557b8;
        color: #F5F0EA;
    }
}

.hero {
    position: relative;
    margin: 0 auto;
    padding: 210px 60px 230px;
    background: #403D39;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-blob-layer {
    position: absolute;
    inset: -20%;
    overflow: hidden;
    filter: blur(70px);
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    width: 45%;
    height: 45%;
    opacity: 0.9;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.hero-blob-1 {
    background: #576FD3;
    top: 5%;
    left: 5%;
    border-radius: 40% 60% 60% 40% / 55% 45% 55% 45%;
    animation: hero-walk-1 35s ease-in-out infinite, morph-shield 14s ease-in-out infinite;
}

.hero-blob-2 {
    background: #576FD3;
    top: 10%;
    right: 10%;
    left: auto;
    border-radius: 40% 60% 60% 40% / 55% 45% 55% 45%;
    animation: hero-walk-2 40s ease-in-out infinite -12s, morph-amoeba 16s ease-in-out infinite -3s;
}

.hero-blob-3 {
    background: #F5F0EA;
    left: 5%;
    bottom: 5%;
    clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 70% 100%, 50% 90%, 30% 100%, 0% 50%, 20% 20%);
    animation: hero-walk-3 38s ease-in-out infinite -8s, morph-spiky 13s ease-in-out infinite -6s;
}

@keyframes hero-walk-1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(25%, 20%, 0) scale(1.05); }
    50% { transform: translate3d(10%, 35%, 0) scale(0.95); }
    75% { transform: translate3d(-5%, 15%, 0) scale(1.08); }
}

@keyframes hero-walk-2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(-30%, 25%, 0) scale(1.1); }
    50% { transform: translate3d(-20%, -10%, 0) scale(0.92); }
    75% { transform: translate3d(-10%, 30%, 0) scale(1.05); }
}

@keyframes hero-walk-3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(35%, -25%, 0) scale(1.06); }
    50% { transform: translate3d(20%, 15%, 0) scale(0.98); }
    75% { transform: translate3d(5%, -20%, 0) scale(1.04); }
}

@keyframes morph-shield {
    0%, 100% { border-radius: 35% 35% 55% 55% / 45% 45% 50% 50%; }
    25% { border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
    50% { border-radius: 40% 60% 60% 40% / 55% 45% 55% 45%; }
    75% { border-radius: 55% 45% 50% 50% / 40% 60% 50% 50%; }
}

@keyframes morph-amoeba {
    0%, 100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    25% { border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%; }
    50% { border-radius: 55% 45% 45% 55% / 45% 55% 50% 50%; }
    75% { border-radius: 50% 50% 60% 40% / 60% 40% 45% 55%; }
}

@keyframes morph-spiky {
    0%, 100% { clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 70% 100%, 50% 90%, 30% 100%, 0% 50%, 20% 20%); }
    25% { clip-path: polygon(50% 5%, 95% 35%, 85% 70%, 55% 95%, 20% 80%, 5% 45%, 35% 15%, 70% 25%); }
    50% { clip-path: polygon(30% 0%, 70% 10%, 100% 40%, 80% 90%, 50% 100%, 15% 70%, 0% 30%, 25% 5%); }
    75% { clip-path: polygon(50% 10%, 90% 50%, 75% 95%, 45% 85%, 10% 95%, 0% 55%, 40% 20%, 65% 0%); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: bold;
    color: #F5F0EA;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: #F5F0EA;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
}

.hero-cta {
    display: inline-block;
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #403D39;
    background: #F5F0EA;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.hero-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 24px 80px;
        border-radius: 24px;
    }

    .hero-blob-layer {
        filter: blur(60px);
    }

    .hero-blob {
        width: 55%;
        height: 55%;
    }
}

/* About section */
.about-section {
    display: block;
    margin-bottom: 64px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    margin: 0 auto;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.about-card--accent {
    background: #576FD3;
    color: #fff;
    min-height: 200px;
}

.about-card--accent .about-card-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 77px;
    margin-left: 54px;
    margin-bottom: 14px;
    width: 300px;
}

.about-card--white .about-card-header {
    margin-top: 55px;
    margin-left: 54px;
    margin-bottom: 14px;
    width: 300px;
}

.about-card--white {
    background: #fff;
    color: #403D39;
}

.about-card--large {
    background: #fff;
    color: #403D39;
}

.about-card-label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.about-card--accent .about-card-label {
    color: #F5F0EA;
}

.about-card--accent .about-card-title {
    color: #F5F0EA;
}

.about-card--white .about-card-label {
    color: #403D39;
}

.about-card--white .about-card-title {
    color: #403D39;
}

.about-card-title {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 0;
}

.about-card--accent .about-card-graphic {
    position: relative;
    width: 55%;
    max-width: 180px;
}

.about-card--accent .about-card-graphic img {
    width: 100%;
    height: auto;
    display: block;
}

.about-card--white {
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.about-card-link {
    align-self: flex-end;
    margin-top: auto;
    margin-right: 19px;
    margin-bottom: 41px;
}

.about-card-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.about-card--large {
    padding: 40px 36px 35px;
}

.about-card-blob {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 40%;
    background: #576FD3;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: about-blob-float 18s ease-in-out infinite;
}

@keyframes about-blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    25% {
        transform: translate(-8%, 5%) scale(1.1);
        border-radius: 45% 55% 55% 45% / 55% 45% 50% 50%;
    }
    50% {
        transform: translate(5%, -6%) scale(0.95);
        border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    }
    75% {
        transform: translate(-4%, -3%) scale(1.05);
        border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%;
    }
}

.about-card-body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.about-card-body p {
    font-size: 26px;
    margin-bottom: 32px;
    color: #403D39;
    font-family: 'Inter v';
    font-weight: bold;
}

.about-card-body p:last-of-type {
    margin-bottom: 32px;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #403D39;
    padding: 6px 6px 6px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.about-cta:hover {
    background: #576FD3;
    transform: translateY(-1px);
}

.about-cta-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.link-icon {
    background-image: url(../images/link.svg);
    width: 63px;
    height: 63px;
    background-color: #F5F0EA;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    &:hover {
        background-color: #e6e1dd;
        transform: scale(1.05);
    }
}

.link-icon-white {
    background-image: url(../images/link-white.svg);
    width: 63px;
    height: 63px;
    border: 1px solid #F5F0EA;
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
    &:hover {
        background-color: #e6e1dd;
        transform: scale(1.05);
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Reasons section */
.reasons-section {
    position: relative;
    background: #403D39;
    padding: 80px 20px 100px;
    overflow: hidden;
}

.reasons-blob {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: #F5F0EA;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    animation: reasons-blob-float 20s ease-in-out infinite;
}

@keyframes reasons-blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    33% {
        transform: translate(8%, -5%) scale(1.08);
        border-radius: 55% 45% 45% 55% / 45% 55% 55% 45%;
    }
    66% {
        transform: translate(-5%, 8%) scale(0.95);
        border-radius: 45% 55% 55% 45% / 55% 45% 50% 50%;
    }
}

.reasons-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.reasons-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reasons-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: #F5F0EA;
    line-height: 1.2;
    margin: 0;
}

.reasons-title-line {
    display: block;
}

.reasons-badge {
    display: inline-block;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: #F5F0EA;
    background: #576FD3;
    padding: 12px 28px;
    border-radius: 100px;
    text-align: center;
    align-self: flex-start;
}

.reasons-swiper-wrapper {
    overflow: hidden;
}

.reasons-swiper {
    overflow: visible;
}

.reasons-swiper .swiper-wrapper {
    align-items: stretch;
}

.reasons-swiper .swiper-slide {
    height: auto;
    width: 280px;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.88);
    opacity: 0.7;
}

.reasons-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.reason-card {
    position: relative;
    padding: 28px 24px;
    border-radius: 32px;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.reason-card--light {
    background: #F5F0EA;
    color: #403D39;
    border: 1px solid #403D39;
}

.reason-card--beige {
    background: #D9CBC2;
    color: #403D39;
    border: 1px solid #403D39;
}

.reason-card--blue {
    background: #576FD3;
    color: #fff;
    border: 1px solid transparent;
}

.reason-card-content {
    position: relative;
    z-index: 1;
    padding-bottom: 4px;
    height: 200px;
}

.reason-card-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    margin-bottom: 10px;
}

.reason-card-desc {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.reason-card-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    animation: reason-blob-float 15s ease-in-out infinite;
}

@keyframes reason-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, -5%) scale(1.08); }
}

.reason-card-blob--dark {
    top: -35%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: #403D39;
    opacity: 0.25;
}

.reason-card-blob--gradient {
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #403D39 0%, #5A5A5A 100%);
    filter: blur(12.6px);
    box-shadow: 0 4px 40.6px 4px rgba(0, 0, 0, 0.25);
}

.reason-card-blob--blue {
    background: #576FD3;
}

.reason-card-blob--pos-tr {
    top: -20%;
    right: -25%;
    width: 55%;
    height: 55%;
    animation-delay: -3s;
}

.reason-card-blob--pos-bl {
    width: 75px;
    height: 75px;
    animation-delay: -7s;
    filter: blur(25px);
    opacity: 1;
}

.reason-card-blob--light {
    top: -30%;
    right: -25%;
    width: 70%;
    height: 70%;
    background: #F5F0EA;
}

.reasons-pagination {
    margin-top: 24px;
}

.reasons-pagination .swiper-pagination-bullet {
    background: #F5F0EA;
    opacity: 0.5;
}

.reasons-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .reasons-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reasons-swiper {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Services section */
.services-section {
    padding: 80px 0px 100px;
}


.services-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #576FD3;
    margin-bottom: 32px;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 48px;
    margin-bottom: 40px;
}

.services-nav-btn {
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #403D39;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid #403D39;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.services-nav-btn:hover {
    opacity: 0.7;
}

.services-nav-btn.is-active {
    font-weight: 600;
}

.services-swiper-wrapper {
    overflow: hidden;
}

.services-swiper .swiper-wrapper {
    align-items: stretch;
}

.services-swiper .swiper-slide {
    height: auto;
    width: 340px;
    flex-shrink: 0;
    transition: width 0.4s ease;
}

.services-swiper .swiper-slide-active {
    width: 544px;
}

.services-swiper .swiper-slide > * {
    height: 100%;
}

.service-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 28px;
    height: 480px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card--dark {
    background: #403D39;
    color: #fff;
    box-shadow: 0 4px 24px rgba(64, 61, 57, 0.25);
}

.service-card--gray {
    background: #D9CBC2;
    color: #403D39;
    box-shadow: 0 4px 24px rgba(64, 61, 57, 0.25);
}

.service-card-figure {
    position: relative;
    max-width: 280px;
    pointer-events: none;
    z-index: 0;
}

#figure1 {
    left: -10%;
    align-self: flex-start;
}

#figure2 {
    right: -10%;
    align-self: flex-end;
}

#figure3 {
    left: -10%;
    align-self: flex-start;
}

#figure4 {
    right: -10%;
    align-self: flex-end;
}

#figure5 {
    align-self: center;
}

#figure6 {
    right: -10%;
    align-self: flex-end;
}

.service-card-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.service-card--beige {
    background: linear-gradient(180deg, #F5F0EA 0%, #D9CBC2 100%);
    color: #403D39;
}

.service-card--commerce {
    background: #D9CBC2;
    color: #403D39;
}

.service-card--commerce .service-card-cta {
    align-self: center;
}

.service-card--blue {
    background: #576FD3;
    color: #fff;
}

.service-card--violet {
    background: #576FD3;
    color: #fff;
}

.service-card--violet .service-card-cta {
    align-self: center;
}

.service-card-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.service-card-blob--gradient {
    top: -30%;
    right: -25%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, #403D39 0%, #5A5A5A 100%);
    opacity: 0.5;
}

.service-card-blob--top-left {
    top: -35%;
    left: -30%;
    width: 85%;
    height: 85%;
    background: linear-gradient(135deg, #403D39 0%, #5A5A5A 100%);
    opacity: 0.5;
}

.service-card-blob--light {
    top: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
}

.service-card-blob--violet-tl {
    top: -30%;
    left: -25%;
    width: 75%;
    height: 75%;
    background: linear-gradient(135deg, #576FD3 0%, #8B9CF5 100%);
    opacity: 0.35;
}

.service-card-blob--violet-br {
    bottom: -25%;
    right: -20%;
    width: 65%;
    height: 65%;
    background: linear-gradient(135deg, #576FD3 0%, #7B8FE8 100%);
    opacity: 0.25;
}

.service-card-blob--dark-tl {
    top: -25%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: #403D39;
    opacity: 0.2;
}

.service-card-blob--dark-mr {
    top: 30%;
    right: -25%;
    width: 65%;
    height: 55%;
    background: #403D39;
    opacity: 0.25;
}

.service-card-blob--dark-bl {
    bottom: -20%;
    left: -25%;
    width: 60%;
    height: 55%;
    background: #403D39;
    opacity: 0.2;
}

.service-card--marketing {
    background: #D9CBC2;
    color: #403D39;
}

.service-card--marketing .service-card-cta {
    align-self: center;
}

.service-card-blob--striped {
    top: -25%;
    right: -20%;
    width: 75%;
    height: 75%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 2px,
        transparent 2px,
        transparent 8px
    );
    opacity: 0.9;
}

.service-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    z-index: 2;
    align-self: flex-end;
    margin-bottom: 24px;
}

.service-card-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.service-card-desc {
    font-size: 15px;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 8px;
    position: relative;
    z-index: 1;
}

.service-card-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
    background: #D9CBC2;
    color: #403D39;
}

.service-card-cta:hover {
    transform: translateY(-1px);
}

.service-card-cta--dark {
    background: #403D39;
    color: #F5F0EA;
}

@media (max-width: 768px) {
    .services-swiper .swiper-slide {
        width: 300px;
    }
}

/* Contact section */
.contact-section {
    position: relative;
    background: #403D39;
    padding: 80px 20px 100px;
    overflow: hidden;
}

.contact-blob-layer {
    position: absolute;
    inset: -20%;
    overflow: hidden;
    filter: blur(70px);
    pointer-events: none;
}

.contact-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: contact-blob-float 25s ease-in-out infinite;
}

.contact-blob--blue {
    background: #576FD3;
}

.contact-blob--white {
    background: #F5F0EA;
}

.contact-blob-1 { top: 5%; left: 5%; width: 35%; height: 40%; animation-delay: 0s; }
.contact-blob-2 { top: 20%; right: 10%; width: 30%; height: 35%; animation-delay: -5s; }
.contact-blob-3 { bottom: 15%; left: 15%; width: 40%; height: 45%; animation-delay: -10s; }
.contact-blob-4 { top: 40%; left: 25%; width: 25%; height: 30%; animation-delay: -3s; }
.contact-blob-5 { top: 10%; right: 25%; width: 28%; height: 32%; animation-delay: -8s; }
.contact-blob-6 { bottom: 25%; right: 20%; width: 35%; height: 40%; animation-delay: -12s; }
.contact-blob-7 { top: 60%; right: 5%; width: 22%; height: 28%; animation-delay: -6s; }

@keyframes contact-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -5%) scale(1.05); }
    66% { transform: translate(-5%, 5%) scale(0.98); }
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-card,
.contact-map-card {
    background: #F5F3ED;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 1px 1px 0 rgba(64, 61, 57, 0.08), 0 8px 32px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
    font-size: clamp(22px, 3vw, 48px);
    font-weight: 700;
    color: #403D39;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.contact-input {
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: 16px;
    padding: 18px 24px;
    border: none;
    border-radius: 50px;
    background: #E2D9D4;
    color: #403D39;
    width: 100%;
    box-sizing: border-box;
}

.contact-input::placeholder {
    color: rgba(64, 61, 57, 0.6);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-row > * {
    min-width: 0;
}

.contact-form-disclaimer {
    font-size: 13px;
    color: #A9A39E;
    margin: 0;
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #403D39;
    padding: 6px 6px 6px 28px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    justify-content: space-between;
    border: none;
    cursor: pointer;
}

.contact-form-submit:hover {
    background: #4557b8;
    transform: translateY(-1px);
}

.contact-form-submit .link-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: rgba(0, 0, 0, 0.25);
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.contact-form-submit-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.contact-form-submit-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-map-card {
    padding: 0;
    overflow: hidden;
}

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

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

.contact-map-address {
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #403D39;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: #F5F3ED;
    border-top: 1px solid #403D39;
    padding: 48px 20px 56px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-email,
.footer-phone {
    font-size: 20px;
    font-weight: 700;
    color: #403D39;
    text-decoration: none;
}

.footer-email:hover,
.footer-phone:hover {
    color: #576FD3;
}

.footer-info {
    display: flex;
    gap: 48px;
    margin-top: 16px;
    font-weight: 700;
}

.footer-address {
    font-size: 15px;
    color: #403D39;
}

.footer-hours {
    font-size: 15px;
    color: #403D39;
    text-align: right;
}

.footer-right {
    text-align: right;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    justify-content: flex-end;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #403D39;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #403D39;
    transition: color 0.2s, border-color 0.2s;
}

.footer-social-link:hover {
    color: #576FD3;
    border-color: #576FD3;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.35;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-info {
        flex-direction: column;
        gap: 16px;
    }
}

/* Letter modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(64, 61, 57, 0.85);
    cursor: pointer;
}

.modal-letter {
    position: relative;
    z-index: 1;
    max-width: 640px;
    width: 100%;
    background: #F5F3ED url(../images/message.webp) center / cover no-repeat;
    border-radius: 12px;
    padding: 24px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #F5F0EA;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    background: #00000036;
    z-index: 2;
}

.modal-close:hover {
    background: #00000059;
}

.modal-letter-paper {
    position: relative;
    
    color: #403D39;
    padding: 48px 40px 56px;
    font-family: 'Playfair Display', Georgia, serif;
    overflow: hidden;
    border-radius: 0 0 4px 4px;
}

.modal-letter-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 400;
    color: rgba(64, 61, 57, 0.06);
    pointer-events: none;
}

.modal-letter-greeting {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.modal-letter-body {
    max-width: 520px;
    margin: 0 auto 32px;
}

.modal-letter-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-letter-body p:last-child {
    margin-bottom: 0;
}

.modal-letter-signature {
    text-align: center;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
}

#letter-trigger {
    cursor: pointer;
}

/* Consult form modal */
.modal-consult {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    width: 100%;
}

.modal-consult .modal-close {
    color: #403D39;
    top: 16px;
    right: 16px;
}

.modal-consult .modal-close:hover {
    background: rgba(64, 61, 57, 0.1);
}

.modal-consult-card {
    padding: 40px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

@media (max-width: 640px) {
    .modal-letter-paper {
        padding: 36px 24px 44px;
    }

    .modal-letter-body p {
        font-size: 15px;
    }
}

/* Commerce page */
.commerce-main {
    padding: 0;
}

.commerce-section {
    position: relative;
    border-radius: 24px;
    padding: 48px 60px 56px;
    margin-bottom: 24px;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

.commerce-section--light {
    background: #D9CBC2;
}

.commerce-blob-layer {
    position: absolute;
    inset: -20%;
    overflow: hidden;
    filter: blur(70px);
    pointer-events: none;
}

.commerce-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: commerce-blob-float 25s ease-in-out infinite;
}

.commerce-blob--blue {
    background: #576FD3;
}

.commerce-blob--dark {
    background: #403D39;
}

.commerce-blob-1 { top: 5%; right: 10%; width: 40%; height: 45%; animation-delay: 0s; }
.commerce-blob-2 { bottom: 10%; left: 5%; width: 35%; height: 40%; animation-delay: -8s; }
.commerce-blob-3 { bottom: 20%; left: 15%; width: 38%; height: 42%; animation-delay: -12s; }
.commerce-blob-4 { top: 40%; right: 20%; width: 30%; height: 35%; animation-delay: -5s; }

@keyframes commerce-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -5%) scale(1.05); }
    66% { transform: translate(-5%, 5%) scale(0.98); }
}

.commerce-section--dark {
    background: #403D39;
}

.commerce-blob--light {
    background: #F5F0EA;
}

.commerce-blob-d1 { top: 5%; right: 15%; width: 35%; height: 40%; animation-delay: 0s; }
.commerce-blob-d2 { top: 40%; left: 5%; width: 30%; height: 35%; animation-delay: -6s; }
.commerce-blob-d3 { bottom: 10%; right: 10%; width: 32%; height: 38%; animation-delay: -12s; }
.commerce-blob-d4 { top: 15%; left: 20%; width: 28%; height: 32%; animation-delay: -3s; }
.commerce-blob-d5 { top: 60%; right: 25%; width: 25%; height: 30%; animation-delay: -8s; }
.commerce-blob-d6 { bottom: 25%; left: 30%; width: 30%; height: 35%; animation-delay: -4s; }

.commerce-section-inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.commerce-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #403D39;
    margin-bottom: 12px;
    line-height: 1.2;
}

.commerce-title--white {
    color: #F5F0EA;
}

.commerce-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #576FD3;
    margin-bottom: 32px;
}

.commerce-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.commerce-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.commerce-card--light {
    background: #F5F3ED;
}

.commerce-card--dark {
    background: #F5F0EA;
}

.commerce-card--dark .commerce-card-title,
.commerce-card--dark .commerce-card-desc {
    color: #403D39;
}

.commerce-card-content {
    flex: 1;
    min-width: 0;
}

.commerce-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #403D39;
    margin-bottom: 8px;
    line-height: 1.3;
}

.commerce-card-title--white {
    color: #F5F0EA;
}

.commerce-card-desc {
    font-size: 15px;
    color: #403D39;
    line-height: 1.5;
    opacity: 0.9;
}

.commerce-card-desc--white {
    color: #F5F0EA;
    opacity: 0.9;
}

.commerce-card-link {
    flex-shrink: 0;
    display: block;
}


.commerce-cta {
    margin-top: 40px;
    text-align: center;
}

.commerce-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter v', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #576FD3;
    border: none;
    padding: 16px 32px;
    border-radius: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.commerce-cta-btn:hover {
    background: #4557b8;
    transform: translateY(-1px);
}

/* ========== Mobile styles ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: #F5F0EA;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0 auto;
        height: 72px;
    }

    .header-logo {
        height: 40px;
    }

    .header-burger {
        display: flex;
        margin-left: auto;
    }

    .header-contact {
        display: none;
    }

    .header-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .header-nav-overlay.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: #403D39;
        padding: 80px 32px 32px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    }

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

    .header-nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: none;
        border-radius: 0;
    }

    .header-nav-item {
        font-size: 18px;
        border-bottom: 1px solid rgba(245, 240, 234, 0.2);
    }

    .header-nav-item a {
        display: block;
        padding: 16px 0;
    }

    .header-nav-phone {
        display: block;
        margin-top: 24px;
        padding: 14px 24px;
        background: #576FD3;
        color: #F5F0EA;
        text-align: center;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
    }

    .header-nav-phone:hover {
        background: #4557b8;
        color: #F5F0EA;
    }

    .hero {
        padding: 80px 20px 100px;
        margin-bottom: 20px;
        border-radius: 0px;
        
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 15px;
    }

    .about-section {
        padding: 0 16px;
    }

    .about-section .container {
        padding: 0;
    }

    .about-grid {
        gap: 16px;
    }

    .about-card--accent {
        min-height: auto;
        padding: 24px;
    }

    .about-card--accent .about-card-header {
        margin: 0;
        width: 100%;
    }

    .about-card--accent .about-card-graphic {
        width: 40%;
        max-width: 120px;
        position: relative;
        bottom: -24px;
        left: -24px;
    }

    .about-card--white .about-card-header {
        margin: 24px 20px 20px;
        width: auto;
    }

    .about-card--white .about-card-link {
        margin-right: 16px;
        margin-bottom: 20px;
    }

    .about-card--large {
        padding: 24px 20px;
    }

    .about-card-body p {
        font-size: 18px;
    }

    .about-cta {
        font-size: 15px;
        padding: 12px 24px;
    }

    .reasons-section {
        padding: 48px 16px 64px;
    }

    .reasons-header {
        margin-bottom: 24px;
    }

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

    .reasons-badge {
        font-size: 18px;
    }

    .services-section {
        padding: 48px 0 64px;
    }

    .services-title {
        font-size: 24px;
        padding: 0 16px;
        margin-bottom: 24px;
    }

    .services-nav {
        padding: 0 16px;
        gap: 16px 24px;
        margin-bottom: 24px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .services-nav-btn {
        font-size: 14px;
        white-space: nowrap;
    }

    .services-swiper .swiper-slide {
        width: 280px;
    }

    .services-swiper .swiper-slide-active {
        width: 300px;
    }

    .service-card {
        height: 420px;
        padding: 24px 20px;
    }

    .service-card-title {
        font-size: 18px;
    }

    .service-card-desc {
        font-size: 14px;
    }

    .contact-section {
        padding: 48px 0 0;
    }

    .contact-content {
        gap: 0;
        overflow: visible;
    }

    .contact-form-card {
        padding: 24px 20px;
        margin: 0 16px 24px;
        overflow: hidden;
    }

    .contact-form-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .contact-map-card {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .other-blob {
        display: none;
    }

    .other-map {
        background: none;
    }

    .contact-map {
        padding-bottom: 50%;
    }

    .contact-map iframe {
        border-radius: 0;
    }

    .contact-map-address {
        padding: 16px 20px;
        font-size: 14px;
    }

    .commerce-main .contact-section {
        padding-bottom: 0;
    }

    .commerce-section {
        padding: 32px 20px 40px;
        margin-bottom: 16px;
        border-radius: 20px;
    }

    .commerce-title {
        font-size: 22px;
    }

    .commerce-title--white {
        font-size: 22px;
    }

    .commerce-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .commerce-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .commerce-card-title {
        font-size: 16px;
    }

    .commerce-card-desc {
        font-size: 14px;
    }

    .commerce-card-link {
        align-self: flex-end;
    }

    .commerce-cta {
        margin-top: 24px;
    }

    .commerce-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .modal-overlay {
        padding: 16px;
    }

    .modal-letter,
    .modal-consult {
        max-width: 100%;
    }

    .modal-letter-paper {
        padding: 36px 24px 44px;
    }

    .modal-letter-greeting {
        font-size: 24px;
    }

    .modal-letter-body p {
        font-size: 15px;
    }

    .modal-consult-card {
        padding: 24px 20px;
        max-width: 100%;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-form-title {
        font-size: 20px;
    }
}

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

    .header {
        margin: 0 auto;
        height: 72px;
    }

    .header-nav {
        width: min(300px, 90vw);
        padding: 70px 24px 24px;
    }

    .header-nav-item {
        font-size: 16px;
    }

    .hero {
        padding: 60px 16px 80px;
        border-radius: 0px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-description {
        font-size: 14px;
    }

    .about-card--accent .about-card-graphic {
        width: 50%;
        position: relative;
        bottom: -24px;
        left: -24px;
    }

    .about-card-label {
        font-size: 16px;
    }

    .about-card-title {
        font-size: 16px;
    }

    .reasons-title {
        font-size: 24px;
    }

    .services-swiper .swiper-slide,
    .services-swiper .swiper-slide-active {
        width: 260px;
    }

    .service-card {
        height: 380px;
    }

    .commerce-section {
        padding: 24px 16px 32px;
    }

    .commerce-title,
    .commerce-title--white {
        font-size: 22px;
    }

    .commerce-card {
        padding: 16px;
    }

    .footer {
        padding: 32px 16px 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
}