/* ============================================
   CF LEGAL - Main Stylesheet
   Font: Open Sans
   Colors:
     - Dark green/teal: #0B2B2B
     - Accent yellow: #E3E316
     - Purple/indigo: #6A6AEE
     - White: #FFFFFF
     - Light gray bg: #F5F5F5
     - Dark text: #1D1D1B
     - Gold banner: #C8A951
   ============================================ */

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1D1D1B;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn--primary {
    background: #6A6AEE;
    color: #fff;
}

.btn--primary:hover {
    background: #5555d4;
}

.btn--accent {
    background: #6A6AEE;
    color: #fff;
}

.btn--accent:hover {
    background: #5555d4;
}

.btn--outline {
    background: transparent;
    color: #6A6AEE;
    border: 2px solid #6A6AEE;
}

.btn--outline:hover {
    background: #6A6AEE;
    color: #fff;
}

.btn--outline-dark {
    background: transparent;
    color: #1D1D1B;
    border: 2px solid #1D1D1B;
}

.btn--outline-dark:hover {
    background: #1D1D1B;
    color: #fff;
}

/* ==================
   FIXED LOGO
   ================== */
.fixed-logo {
    position: fixed;
    top: 24px;
    left: 40px;
    z-index: 200;
    display: block;
    transition: top 0.3s ease;
}

.fixed-logo img {
    width: 101px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.fixed-logo--scrolled {
    top: 12px;
}

.fixed-logo--scrolled img {
    width: 70px;
    height: 55px;
}

/* ==================
   HERO
   ================== */
.hero {
    position: relative;
    padding: 120px 0 60px;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('./assets/img/warsaw-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 49px;
    font-weight: 700;
    line-height: 125%;
    color: #fff;
    margin-bottom: 16px;
}

.hero__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 23px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero__divider {
    margin-bottom: 24px;
}

.hero__label {
    font-family: 'Open Sans', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    line-height: 140%;
    margin-bottom: 8px;
}

.hero__label-ru {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #E3E316;
    line-height: 150%;
    margin-bottom: 32px;
}

.btn--phone {
    background: #6A6AEE;
    color: #fff;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn--phone:hover {
    background: #5555d4;
}

/* ==================
   ABOUT
   ================== */
.about {
    background: #0B2B2B;
    padding: 80px 0;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
    max-width: 1130px;
    margin: 0 auto;
}

.about__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;
}

.about__features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about__check-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.about__feature span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 19px;
    line-height: 1.5;
}

.about__sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
}

.about__sidebar-card h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1D1D1B;
    line-height: 140%;
    margin-bottom: 24px;
}

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

.about__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #1D1D1B;
    outline: none;
    transition: border-color 0.3s;
}

.about__input:focus {
    border-color: #6A6AEE;
}

.about__input::placeholder {
    color: #999;
}

.about__textarea {
    min-height: 100px;
    resize: vertical;
}

.about__submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

/* ==================
   WHY CHOOSE
   ================== */
.why-choose {
    padding: 100px 0 80px;
    background: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.3;
    color: #1D1D1B;
}

.section-title--light {
    color: #fff;
}

.why-choose__main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.why-choose__main p {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.7;
}

.why-choose__subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #1D1D1B;
    margin-bottom: 12px;
    margin-top: 24px;
}

.why-choose__photo {
    text-align: center;
}

.why-choose__photo > img:first-child {
    border-radius: 12px;
    width: 100%;
}

.why-choose__signature {
    margin-top: 12px;
    height: 50px;
    width: auto;
    display: inline-block;
}

/* Feature blocks */
.why-choose__block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #eee;
    align-items: start;
}

.why-choose__block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1D1D1B;
    margin-bottom: 12px;
}

.why-choose__block p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.why-choose__block-icons {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
}

.why-choose__icon-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.why-choose__icon-item img {
    width: 28px;
    height: 28px;
}

.why-choose__icon-item span {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.why-choose__cta {
    text-align: center;
    padding: 48px 0 0;
    border-top: 1px solid #eee;
}

.why-choose__cta p {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1B;
    margin-bottom: 8px;
}

.why-choose__cta-sub {
    font-weight: 400 !important;
    color: #555 !important;
    font-size: 14px !important;
    margin-bottom: 24px !important;
}

/* ==================
   SCOPE ACCORDION
   ================== */
.scope-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.scope-accordion__item--open .scope-accordion__content {
    max-height: 300px;
}

.scope-accordion__item--open .scope-accordion__btn {
    border-color: #6A6AEE !important;
}

.scope-accordion__chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.scope-accordion__item--open .scope-accordion__chevron {
    transform: rotate(180deg);
}

/* ==================
   SCOPE
   ================== */
.scope {
    padding: 80px 0;
    background: #F5F5F5;
}

.scope__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.scope__title {
    font-size: 32px;
    font-weight: 700;
    color: #1D1D1B;
    margin-bottom: 16px;
    line-height: 1.3;
}

.scope__left p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.scope__service-item {
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
}

.scope__service-item:first-child {
    padding-top: 0;
}

.scope__service-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1B;
}

.scope__arrow {
    font-size: 24px;
    color: #999;
    flex-shrink: 0;
    margin-left: 16px;
}

/* ==================
   TRUST & EXPERIENCE
   ================== */
.trust {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.trust__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.trust__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 43, 43, 0.9);
}

.trust__inner {
    position: relative;
    z-index: 1;
}

.trust__desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    max-width: 700px;
    margin: -24px auto 8px;
    line-height: 1.7;
}

.trust__subdesc {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 48px;
}

.trust__text-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 48px;
    text-align: center;
}

.trust__text-block p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
}

.trust__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.trust__stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px 20px;
}

.trust__stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #E3E316;
    margin-bottom: 8px;
}

.trust__stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.4;
}

.trust__goal {
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px 32px;
}

.trust__goal p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

/* ==================
   SUCCESS STORIES
   ================== */
.success {
    padding: 80px 0;
    background: #fff;
}

.success__intro {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-top: -32px;
    margin-bottom: 48px;
}

.success__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 60px;
    margin-bottom: 40px;
}

.success__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.success__bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E3E316;
    flex-shrink: 0;
    margin-top: 8px;
}

.success__item p {
    font-size: 15px;
    color: #1D1D1B;
    line-height: 1.6;
}

.success__sub {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.success__btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

/* ==================
   REAL CASES BANNER
   ================== */
.real-cases {
    background: linear-gradient(135deg, #C8A951 0%, #D4B968 100%);
    padding: 48px 0 0;
}

.real-cases__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

/* ==================
   DOCUMENTS
   ================== */
.documents {
    padding: 48px 0;
    background: linear-gradient(to bottom, #C8A951 0px, #C8A951 48px, #F5F5F5 48px, #F5F5F5 100%);
}

.documents__scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
}

.documents__scroll::-webkit-scrollbar {
    height: 6px;
}

.documents__scroll::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}

.documents__scroll::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}

.documents__item {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.documents__item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ==================
   FULL SERVICES
   ================== */
.full-services {
    padding: 80px 0;
    background: #F5F5F5;
}

.full-services__box {
    background: #fff;
    border-radius: 16px;
    padding: 60px 48px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.full-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.full-services__item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1D1D1B;
}

.full-services__item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.full-services__check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.full-services__check img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.full-services__check span {
    font-size: 14px;
    color: #1D1D1B;
}

.full-services__bottom {
    text-align: center;
    font-size: 15px;
    color: #555;
    font-style: italic;
    line-height: 1.7;
}

/* ==================
   COOPERATION
   ================== */
.cooperation {
    padding: 80px 0;
    background: #fff;
}

.cooperation__subtitle {
    text-align: center;
    font-size: 15px;
    color: #555;
    max-width: 700px;
    margin: -32px auto 56px;
    line-height: 1.7;
}

.cooperation__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.cooperation__step {
    text-align: center;
    flex: 0 0 280px;
}

.cooperation__step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.cooperation__step-icon img {
    width: 100%;
    height: 100%;
}

.cooperation__step-number {
    font-size: 16px;
    font-weight: 700;
    color: #1D1D1B;
    margin-bottom: 8px;
}

.cooperation__step p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.cooperation__step-arrow {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 32px;
}

.cooperation__step-arrow img {
    width: 100%;
    opacity: 0.5;
}

.cooperation__note {
    text-align: center;
    font-size: 14px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #eee;
    line-height: 1.7;
}

/* ==================
   CONTACT
   ================== */
.contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.contact__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.contact__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 43, 43, 0.9);
}

.contact__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: -24px;
}

.contact__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.contact__actions {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-end;
}

.contact__action-block {
    text-align: center;
}

.contact__action-block p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.contact__btn {
    min-width: 200px;
}

/* ==================
   FAQ
   ================== */
.faq {
    padding: 80px 0;
    background: #fff;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid #eee;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1D1D1B;
    cursor: pointer;
    text-align: left;
}

.faq__chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq__item--open .faq__chevron {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item--open .faq__answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq__answer p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* FAQ Dark variant */
.faq__item--dark {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.faq__question--dark {
    color: #fff !important;
    padding: 24px 0 !important;
}

.faq__question--dark span {
    font-size: 18px;
    font-weight: 700;
}

.faq__answer--dark p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 15px;
    line-height: 160%;
}

/* ==================
   FOOTER
   ================== */
.footer {
    background: #0B2B2B;
    padding: 40px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer__badge {
    height: 70px;
    width: auto;
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__sidebar-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .why-choose__main {
        grid-template-columns: 1fr;
    }

    .why-choose__photo {
        max-width: 350px;
        margin: 0 auto;
    }

    .scope__inner {
        grid-template-columns: 1fr;
    }

    .trust__stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .success__grid {
        grid-template-columns: 1fr;
    }

    .full-services__grid {
        grid-template-columns: 1fr;
    }

    .full-services__box {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 28px;
    }

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

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero__label {
        font-size: 18px;
    }

    .hero__label-ru {
        font-size: 16px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .why-choose__block {
        grid-template-columns: 1fr;
    }

    .trust__stats {
        grid-template-columns: 1fr;
    }

    .features-grid__layout {
        grid-template-columns: 1fr !important;
    }

    .features-grid__container {
        padding: 40px 24px !important;
        margin-top: -40px !important;
    }

    .why-choose__container {
        padding: 40px 24px !important;
        border-radius: 20px !important;
    }

    .why-choose__main {
        grid-template-columns: 1fr !important;
    }

    .why-choose__photo {
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
    }

    .why-choose__photo img:first-child {
        width: 100% !important;
        height: auto !important;
    }

    .cooperation__steps {
        flex-direction: column;
        align-items: center;
    }

    .cooperation__step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        flex: 0 0 60px;
    }

    .contact__actions {
        flex-direction: column;
        align-items: center;
    }

    .scope__title {
        font-size: 26px;
    }

    .trust__stat-number {
        font-size: 36px;
    }

    .real-cases__title {
        font-size: 22px;
    }

    .documents__item {
        flex: 0 0 180px;
    }
}
