/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--color-background);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInHeroText 2s ease-out forwards;
    opacity: 0;
}

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

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--color-background);
}

.hero h1 .word {
    display: inline-block;
    animation: fadeInWord 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
}

.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.3s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.5s; }

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

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto;
    color: rgba(248, 247, 244, 0.8);
    font-family: var(--font-body);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down-indicator::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--color-accent));
    animation: lineDown 2s infinite ease-in-out;
}

@keyframes lineDown {
    0% { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

.scroll-down-indicator a {
    color: var(--color-accent);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.scroll-down-indicator svg {
    width: 24px;
    height: 24px;
    margin-top: 8px;
}

@keyframes pulse {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* MANIFESTO SECTION */
.manifesto {
    background-color: var(--color-background);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(var(--spacing-unit) * 8);
}

.manifesto h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    max-width: 800px;
    margin: 0 auto calc(var(--spacing-unit) * 8) auto;
}

.manifesto-text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
    font-size: 1.1rem;
    line-height: 1.8;
}

.manifesto-text-columns p {
    max-width: 500px;
}

.manifesto-text-columns strong {
    font-weight: 500;
    color: var(--color-accent);
}

/* SERVICES SECTION */
.services {
    background-color: #FFFFFF;
}

.services h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 5);
}

/* PORTFOLIO SECTION */
.portfolio {
    background-color: var(--color-background);
}

.portfolio h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: calc(var(--spacing-unit) * 10);
}

/* Portfolio Swiper Styles */
.portfolioSwiper {
    width: 100%;
    padding-bottom: 80px;
    padding-top: 20px;
}

.portfolioSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.portfolioSwiper .swiper-button-next,
.portfolioSwiper .swiper-button-prev {
    color: var(--color-accent);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(184, 159, 93, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolioSwiper .swiper-button-next:hover,
.portfolioSwiper .swiper-button-prev:hover {
    background: var(--color-accent);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(184, 159, 93, 0.4);
}

.portfolioSwiper .swiper-button-next::after,
.portfolioSwiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: bold;
}

.portfolioSwiper .swiper-pagination {
    bottom: 30px !important;
}

.portfolioSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0 6px !important;
}

.portfolioSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 32px;
    border-radius: 5px;
    background: var(--color-accent);
}

@media (max-width: 768px) {
    .portfolioSwiper .swiper-button-next,
    .portfolioSwiper .swiper-button-prev {
        width: 44px;
        height: 44px;
    }

    .portfolioSwiper .swiper-button-next::after,
    .portfolioSwiper .swiper-button-prev::after {
        font-size: 18px;
    }

    .portfolioSwiper {
        padding-bottom: 60px;
    }
}

.project {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 247, 244, 0.98));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.12);
}

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

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.project:hover .project-image::before {
    opacity: 1;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(184, 159, 93, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}

.project:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project:hover .project-image img {
    transform: scale(1.08);
}

.project-info {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 5);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-text);
    line-height: 1.2;
}

.project-info .location {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: calc(var(--spacing-unit) * 3);
    display: inline-block;
}

.project-info .description {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--color-secondary);
}

.project-info .description > p {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.project-metadata {
    margin-top: calc(var(--spacing-unit) * 3);
    padding-top: calc(var(--spacing-unit) * 2);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-metadata p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: calc(var(--spacing-unit) * 1);
    opacity: 0.8;
}

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

.project-info .cta-link {
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.project-info .cta-link:hover {
    gap: 16px;
}

.project-info .cta-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.project-info .cta-link:hover::after {
    transform: translateX(5px);
}

.portfolio-cta {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4);
    background: linear-gradient(135deg, rgba(184, 159, 93, 0.05), rgba(184, 159, 93, 0.02));
    border-radius: 24px;
    margin-top: calc(var(--spacing-unit) * 10);
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), transparent, var(--color-accent));
    border-radius: 24px;
    opacity: 0.1;
    animation: borderRotate 10s linear infinite;
}

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

.portfolio-cta h3 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
    position: relative;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
}

.portfolio-cta .cta-button {
    background: var(--color-accent);
    color: white;
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 5);
    font-size: 1.1rem;
    position: relative;
}

/* PROCESS SECTION */
.process {
    background-color: #FFFFFF;
    position: relative;
}

.process h2 {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, 
        var(--color-accent) 0%, 
        rgba(184, 159, 93, 0.6) 50%, 
        rgba(184, 159, 93, 0.2) 100%);
    top: 60px;
    bottom: 60px;
    left: 50px;
    border-radius: 2px;
    animation: timelineGrow 2s ease-out 0.5s both;
}

@keyframes timelineGrow {
    from {
        height: 0;
        top: 60px;
    }
    to {
        height: calc(100% - 120px);
        top: 60px;
    }
}

/* Анімація для появи кружечків */
@keyframes circleAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Анімація пульсації */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 6px rgba(184, 159, 93, 0.15);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(184, 159, 93, 0.08);
    }
}

.timeline-item {
    padding: 30px 0 50px 140px;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Затримки для контенту */
.timeline-item:nth-child(1).is-visible { transition-delay: 0.8s; }
.timeline-item:nth-child(2).is-visible { transition-delay: 1.2s; }
.timeline-item:nth-child(3).is-visible { transition-delay: 1.6s; }
.timeline-item:nth-child(4).is-visible { transition-delay: 2.0s; }

.timeline-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--color-accent);
    border-radius: 50%;
    left: 39px;
    top: 40px;
    box-shadow: 0 0 0 6px rgba(184, 159, 93, 0.15);
    transition: all 0.4s ease;
    z-index: 2;
    opacity: 0;
    transform: scale(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    left: 45px;
    top: 46px;
    transition: all 0.4s ease;
    z-index: 3;
    opacity: 0;
    transform: scale(0);
}

/* Синхронізована поява кружечків після лінії */
.timeline-item:nth-child(1).is-visible::before,
.timeline-item:nth-child(1).is-visible::after {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.timeline-item:nth-child(2).is-visible::before,
.timeline-item:nth-child(2).is-visible::after {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards;
}

.timeline-item:nth-child(3).is-visible::before,
.timeline-item:nth-child(3).is-visible::after {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards;
}

.timeline-item:nth-child(4).is-visible::before,
.timeline-item:nth-child(4).is-visible::after {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards;
}

/* Pulse після появи кружечка */
.timeline-item:nth-child(1).is-visible::before {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards,
               pulse 3s infinite ease-in-out 1.1s;
}

.timeline-item:nth-child(2).is-visible::before {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards,
               pulse 3s infinite ease-in-out 1.5s;
}

.timeline-item:nth-child(3).is-visible::before {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s forwards,
               pulse 3s infinite ease-in-out 1.9s;
}

.timeline-item:nth-child(4).is-visible::before {
    animation: circleAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards,
               pulse 3s infinite ease-in-out 2.3s;
}

.timeline-item:hover::before {
    box-shadow: 0 0 0 10px rgba(184, 159, 93, 0.2);
    transform: scale(1.1);
}

.timeline-item:hover::after {
    background: var(--color-accent);
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(184, 159, 93, 0.1);
    line-height: 1;
    transition: all 0.4s ease;
    z-index: 1;
}

.timeline-item:hover .step-number {
    color: rgba(184, 159, 93, 0.2);
    transform: scale(1.05);
}

.step-content {
    position: relative;
    z-index: 2;
}

.timeline-item h4 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: calc(var(--spacing-unit) * 1);
    transition: color 0.3s ease;
}

.timeline-item:hover h4 {
    color: var(--color-accent);
}

.step-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.timeline-item p {
    color: var(--color-secondary);
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.7;
}

.step-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-details li {
    position: relative;
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--color-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.step-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    transition: all 0.3s ease;
}

.timeline-item:hover .step-details li {
    color: var(--color-text);
    transform: translateX(5px);
}

.timeline-item:hover .step-details li::before {
    transform: scale(1.2);
}

/* ABOUT SECTION */
.about {
    background-color: var(--color-background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: calc(var(--spacing-unit) * 10);
    align-items: center;
}

.about-image {
    width: 100%;
    max-width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    transition: filter 0.6s ease;
}

.about-image:hover {
    filter: grayscale(0%);
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.about-content .bio {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.stats {
    display: flex;
    gap: calc(var(--spacing-unit) * 8);
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-item .label {
    color: var(--color-secondary);
}

/* CONTACT SECTION */
.contact {
    background-color: var(--color-text);
    color: var(--color-background);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(184, 159, 93, 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

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

.contact h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-background);
    margin-bottom: calc(var(--spacing-unit) * 2);
    position: relative;
}

.contact p {
    max-width: 600px;
    margin: 0 auto calc(var(--spacing-unit) * 6) auto;
    color: rgba(248, 247, 244, 0.8);
    position: relative;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}

/* FOOTER */
.footer {
    padding: calc(var(--spacing-unit) * 6) 0;
    background-color: var(--color-background);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-secondary);
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    margin-left: calc(var(--spacing-unit) * 3);
    transition: color var(--transition);
}

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

.social-icons a {
    margin-left: calc(var(--spacing-unit) * 2);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--color-secondary);
    transition: fill var(--transition), transform var(--transition);
}

.social-icons a:hover svg {
    fill: var(--color-accent);
    transform: translateY(-3px);
}

/* DETAILED SERVICES SECTION */
.detailed-services {
    padding: calc(var(--spacing-unit) * 15) 0;
    background: linear-gradient(180deg, var(--color-background) 0%, rgba(184, 159, 93, 0.02) 100%);
}

.detailed-services .section-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.detailed-services .section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.detailed-services .section-header p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.detailed-service-card {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(184, 159, 93, 0.15);
    border-radius: 20px;
    padding: calc(var(--spacing-unit) * 5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.detailed-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #D1B874);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.detailed-service-card:hover::before {
    transform: scaleX(1);
}

.detailed-service-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(184, 159, 93, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(184, 159, 93, 0.2);
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent), #D1B874);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: calc(var(--spacing-unit) * 2);
    opacity: 0.6;
}

.detailed-service-card h3 {
    font-size: 1.8rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-text);
}

.detailed-service-card > p {
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    position: relative;
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* CTA Wrapper - для окремої секції CTA */
.cta-wrapper {
    padding: calc(var(--spacing-unit) * 10) 0;
}

.cta-wrapper .services-cta {
    margin-top: 0;
}

.services-cta {
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4);
    background: linear-gradient(135deg, rgba(184, 159, 93, 0.05), rgba(184, 159, 93, 0.02));
    border-radius: 24px;
    margin-top: calc(var(--spacing-unit) * 10);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-accent), transparent, var(--color-accent));
    border-radius: 24px;
    opacity: 0.1;
    /* Без анімації, на відміну від portfolio-cta */
}

.services-cta p {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
}

.services-cta .cta-button {
    background: var(--color-accent);
    color: white;
    padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 5);
    font-size: 1.1rem;
    position: relative;
}

@media (max-width: 768px) {
    .detailed-services-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 3);
    }

    .detailed-service-card {
        padding: calc(var(--spacing-unit) * 4);
    }

    .service-number {
        font-size: 2.5rem;
    }

    .detailed-service-card h3 {
        font-size: 1.5rem;
    }

    .services-cta p {
        font-size: 1.2rem;
    }
}

/* FAQ SECTION */
.faq-section {
    padding: calc(var(--spacing-unit) * 10) 0;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 7.5);
}

.faq-header h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-accent), #D1B874);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header p {
    font-size: 18px;
    color: rgba(248, 247, 244, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(184, 159, 93, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 159, 93, 0.15);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-background);
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(184, 159, 93, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-left: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-icon {
    background: var(--color-accent);
    color: var(--color-text);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: #bbb;
    line-height: 1.8;
    font-size: 16px;
}

.show-more-btn {
    display: block;
    margin: 40px auto 0;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-accent), #D1B874);
    color: var(--color-text);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(184, 159, 93, 0.3);
}

.show-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(184, 159, 93, 0.4);
}

.show-more-btn.hidden {
    display: none;
}

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 36px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 18px;
        margin-left: 12px;
    }
}