/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --color-bg: #FDFDFB;
    --color-dark: #171918;
    --color-green: #A2F233;
    --color-text: #1A1A1A;
    --color-text-muted: #666666;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-handwritten: 'Caveat', sans-serif;

    --section-padding: 100px 0;
    --container-width: 1280px;
}

/* ===== СБРОС ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== ТИПОГРАФИКА ===== */
h1,
h2,
h3 {
    font-family: var(--font-heading);
}

h1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.2;
    font-weight: 800;
}

h3 {
    font-size: clamp(18px, 2vw, 36px);
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
    background: var(--color-bg);
    backdrop-filter: blur(10px);
}

.logo a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    width: fit-content;
}

.logo__name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    letter-spacing: 0;
    color: var(--color-text);
}

.logo__tagline {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--color-text);
    text-align: right;
    text-transform: uppercase;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.navbar__links {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.navbar__links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}


.navbar__cta {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--color-text);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar__cta:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.lang {
    position: relative;
}

.lang__toggle {
    gap: 6px;
}

.lang__arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.lang--open .lang__arrow {
    transform: rotate(180deg);
}

.lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 6px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

.lang--open .lang__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang__menu button {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang__menu button:hover {
    background: var(--color-bg);
}


/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.5s ease, background 0.5s ease, color 0.5s ease;
}

.btn--primary:hover {
    color: var(--color-bg);
    background: var(--color-dark);
}

.btn--primary:hover .btn__circle {
    background: var(--color-green);
    color: var(--color-dark);
}

.btn--ghost:hover {
    color: var(--color-bg);
    background: var(--color-dark);
}

.btn--primary {
    background: var(--color-green);
    color: var(--color-dark);
    padding: 8px 8px 8px 24px;
    gap: 12px;
}

.btn--dark {
    background: var(--color-dark);
    color: #ffffff;
    padding: 8px 8px 8px 24px;
    gap: 12px;
}

.btn__circle {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    flex-shrink: 0;
    transition: transform 0.5s ease, background 0.5s ease, color 0.5s ease;
}

.btn__circle svg {
    width: 16px;
    height: 16px;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-text);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 120px 0 60px;
    margin-top: 30px;
}

.hero__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin-bottom: 70px;
}

.badge {
    display: inline-block;
    font-family: var(--font-handwritten);
    font-size: 20px;
    /* border: 1px solid var(--color-text);
    border-radius: 999px; */
    padding: 10px 20px;
    width: fit-content;
}

.hero__title {
    color: var(--color-text);
    margin-bottom: 24px;
}

.hero__content .badge {
    margin-bottom: 30px;
}

.hero__content p {
    margin-bottom: 36px;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__cta-group {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
}

.hero__cta-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.hero__note {
    font-family: var(--font-handwritten);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-dark);
}

.hero__visual {
    width: 100%;
    max-width: 900px;
    position: relative;
}


/* ===== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ===== */
.hero__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero__decor--paper {
    top: 100px;
    left: -40px;
    width: 250px;
}

.hero__decor--coffee {
    top: 40px;
    right: -20px;
    width: 500px;
    height: auto;
}

.hero__mockup {
    position: relative;
    width: 100%;
}

.hero__mockup img {
    width: 100%;
    border-radius: 12px;
}

.hero__sticker {
    position: absolute !important;
    top: 20px;
    left: -200px;
    width: 350px !important;
    height: auto;
}

.hero__hand {
    position: absolute;
    right: 0%;                 /* убегает за правый край экрана — запястья не видно */
    top: 30%;                   /* опускаем кончик карандаша на вайрфрейм */
    width: min(95vw, 1500px);   /* широкая, чтобы запястье дотянулось до края */
    height: auto;
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 640px) {
    .hero__hand { display: none; }   /* на мобилке прячем — чистый макет */
}

.hero__paper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/watercolor-paper-texture.jpg');
    background-size: cover;
    background-repeat: no-repeat;

    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 40%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 120%);

    pointer-events: none;
    z-index: 0;
}

/* Services */

.services {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    padding: 100px 40px;
    width: 100%;
}

.services::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 80%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(249, 252, 244, 0.10) 0%, transparent 60%);
    transform: rotate(-35deg);
    pointer-events: none;
    z-index: 0;
}

.services__container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.services__header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
}

.services__header .badge {
    border-color: var(--color-bg);
    color: var(--color-bg);
    margin-bottom: 30px;
}

.services__header-content {
    display: flex;
    align-items: flex-start;
    gap: 184px;
}

.services__header-content h2 {
    flex: 1;
    color: var(--color-bg)
}

.services__header-content p {
    flex: 1;
    max-width: 400px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== SERVICE CARD ===== */
.service-card {
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.service-card__description {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.service-card__included {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.service-card__list li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: 700;
    font-size: 14px;
}

/* ===== HOW IT WORKS ===== */

.how-it-works {
    background-color: var(--color-bg);
    padding: var(--section-padding);
    width: 100%;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#00000010 1px, transparent 1px),
        linear-gradient(90deg, #00000010 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, black 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 55%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.how-it-works__container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.how-it-works__header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
    z-index: 1;
}

.how-it-works__header-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;

}

.how-it-works__left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
}

.how-it-works__right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0px;
    margin-top: 100px;
}

.how-it-works__arrow {
    width: 80px;
}

.how-it-works__handwrite-text {
    font-family: var(--font-handwritten);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-dark);
    font-style: italic;
}

.how-it-works__header-content p {
    max-width: 380px;
}

.how-it-works__path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.how-it-works__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 140px 120px;
    margin-top: 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.step-card {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 81px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    min-height: 350px;
    max-width: 400px;
}

.step-card__pin {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 37px;
    height: 37px;
    background: #e8e8e8;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.step-card__pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: var(--color-dark);
    border-radius: 50%;
}

.step-card__content {
    border-radius: 30px;
    border: 1px solid var(--color-text-muted);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    gap: 24px;
}

.step-card--1 {
    grid-column: 2;
    grid-row: 1;
    transform: rotate(4deg);
}

.step-card--2 {
    grid-column: 1;
    grid-row: 1;
    margin-top: 200px;
    transform: rotate(-5deg);
}

.step-card--3 {
    grid-column: 2;
    grid-row: 2;
    transform: rotate(3deg);
}

.step-card--4 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 200px;
    transform: rotate(-4deg);
}

.step-card--4 .step-card__content {
    background: linear-gradient(300deg, #ffffff 0%, #ffc8a8 100%);
}

.step-card--3 .step-card__content {
    background: linear-gradient(300deg, #e8f7ff 0%, #c0e4ff 100%);
}

.step-card--2 .step-card__content {
    background: linear-gradient(300deg, #dce4ff 0%, #b8c8ff 100%);
}

.step-card--1 .step-card__content {
    background: linear-gradient(300deg, #fff8e8 0%, #ffe0c0 100%);
}

.step-card__number {
    width: 44px;
    height: 44px;
    display: flex;
    border-radius: 50%;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0;
}

.step-card__title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
}

.step-card__text {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.how-it-works__ready {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    z-index: 1;
}

.how-it-works__ready-dot {
    width: 10px;
    height: 10px;
    background: var(--color-dark);
    border-radius: 50%;
}

.how-it-works__ready-text {
    font-family: var(--font-handwritten);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-dark);
    font-style: italic;
}

/* ===== PORTFOLIO ===== */

.portfolio {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg);
}

.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, #00000025 1px, transparent 1px),
        radial-gradient(circle, #00000025 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.portfolio__header {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.portfolio__desc {
    max-width: 280px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.portfolio__header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.portfolio__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
    max-width: 500px;
}

.portfolio__track {
    display: flex;
    gap: 24px;
    padding: 0 40px;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
}

.portfolio__track::-webkit-scrollbar {
    display: none;
}

.portfolio-card {
    min-width: 460px;
    background: #fefefe;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
}

.portfolio-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.portfolio-card__name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.portfolio-card__tags {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

.portfolio-card__arrow {
    width: 44px;
    height: 44px;
    background: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.5s ease, background 0.5s ease, color 0.5s ease;
    transform: rotate(45deg);
}

.portfolio-card__arrow svg {
    width: 24px;
    height: 24px;
}

.portfolio-card__arrow:hover {
    background: var(--color-dark);
    color: var(--color-bg);
    transform: rotate(0deg);
}

.portfolio-card__image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-card__image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.portfolio__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.portfolio__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, width 0.3s ease;
}

.portfolio__dot--active {
    background: var(--color-dark);
    width: 28px;
    border-radius: 999px;
}

.portfolio__track {
    cursor: grab;
    user-select: none;
}

.portfolio__track.dragging {
    cursor: grabbing;
}

.portfolio__footer {
    max-width: var(--container-width);
    margin: 80px auto 0;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

/* ===== ABOUT ===== */

.about {
    background: var(--color-dark);
    padding: 100px 40px;
}

.about__container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.about__badge {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    width: fit-content;
    margin-bottom: 30px;
}

.about__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.about__left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
}

.about__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.about__left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
}

.about__right {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.about__decor {
    position: absolute;
    pointer-events: none;
}

.about__decor--sun {
    width: 200px;
    top: -120px;
    left: -120px;
    z-index: 0;
}

.about__arrow {
    width: 60px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    transform: rotate(10deg);
}

.about__photo {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: auto;
    position: relative;
    z-index: 1;
}

.about__tools-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__tools-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}

.about__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about__tag {
    background: var(--color-dark);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
}

.about__tools-right {
    flex-shrink: 0;
}

.about__tools-photo {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.about__philosophy {
    padding-top: 50px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.12);
}

.about__philosophy-label {
    font-family: var(--font-handwritten);
    font-size: 28px;
    color: var(--color-green);
    display: inline-block;
    transform: rotate(-2deg);
    margin-bottom: 24px;
}

.about__philosophy-text {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    max-width: 900px;
    letter-spacing: -0.01em;
}

.about__accent {
    color: var(--color-green);
}

.about__muted {
    color: rgba(255, 255, 255, 0.35);
}

/* ===== WHY ===== */

.why {
    background: var(--color-bg);
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
}

.why__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/plus.svg');
     -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, black 100%);
    mask-image: linear-gradient(to right, transparent 00%, transparent 40%, black 100%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.2;
}

.why__container {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.why__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 120px;
}

.why__header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 520px;
}

.why__spiral {
    width: 200px;
}

.why__star {
    width: 200px;
}

.why__header .badge {
    margin-bottom: 30px;
}

.why__title {
    margin-bottom: 24px;
}

.why__header p {
    max-width: 480px;
}

.why__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 120px;
}

.why__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.why__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 4px;
}

.why__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why__icon svg {
    width: 24px;
    height: 24px;
}

.why__icon--1 {
    background: linear-gradient(145deg, #ffe8d6, #ffd0b0);
    color: #7a3b1a;
}

.why__icon--2 {
    background: linear-gradient(145deg, #dce4ff, #b8c8ff);
    color: #2a3b7a;
}

.why__icon--3 {
    background: linear-gradient(145deg, #e8dcff, #d0b8ff);
    color: #4a2a7a;
}

.why__icon--4 {
    background: linear-gradient(145deg, #d4f5e0, #a8e8c0);
    color: #1a6e44;
}

.why__num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.1);
}

.why__item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.why__item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* тёмная CTA на всю ширину */
.why__cta {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    border-radius: 24px;
    padding: 60px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.why__cta-text h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.why__cta-text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
}

.why__cta .btn {
    flex-shrink: 0;
}

/* hand-drawn декор */
.why__decor {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* звезда у заголовка */
.why__header {
    position: relative;
}

.why__decor--star {
    width: 180px;
    top: -20px;
    right: -340px;
}

.why__decor--smile {
    width: 60px;
    top: 30px;
    left: 280px;
}

.why__decor--arrow {
    width: 150px;
    top: 60px;
    right: 400px;
}

.why__decor--electro {
    width: 40px;
    top: 24px;
    right: 40px;
}

.why__decor--stars {
    width: 70px;
    bottom: 0px;
    left: 0px;
}

/* ===== FAQ ===== */

.faq {
    background: #ffffff;
    padding: 100px 40px;
}

.faq__container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* шапка по центру */
.faq__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.faq__header .badge {
    margin-bottom: 30px;
}

.faq__title {
    margin-bottom: 24px;
}

.faq__subtitle {
    max-width: 520px;
}

/* тело */
.faq__body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.faq__sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.faq__cats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__cat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
}

.faq__cat svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq__cat:hover {
    border-color: rgba(0, 0, 0, 0.3);
    color: var(--color-text);
}

.faq__cat--active {
    background: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-dark);
}

/* блок помощи */
.faq__help {
    background: #f7f7f5;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__help h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.faq__help p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.faq__help .btn {
    margin-top: 8px;
    align-self: flex-start;
}

/* список вопросов */
.faq__list {
    flex: 1;
}

.faq__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.faq__question span:first-child {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.faq__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-text);
    transition: transform 0.4s ease;
}

.faq__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq__item--open .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq__answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
    padding-bottom: 24px;
}

.faq__item--open .faq__answer {
    max-height: 200px;
    padding: 0 28px;
}

.faq__group[hidden] {
    display: none;
}

/* ===== FINAL CTA ===== */

.final-cta {
    background: var(--color-bg);
    padding: 80px 40px 0;
}

.final-cta__card {
    max-width: var(--container-width);
    margin: 0 auto;
    border-radius: 32px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/still-life-fashion-designer-s-office.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 80px;
}

/* затемняющий оверлей поверх фото */
.final-cta__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.final-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.final-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: var(--color-bg);
    line-height: 1.05;
}

.final-cta__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-bg);
    max-width: 480px;
}

.final-cta__btn {
    margin-top: 12px;
}

.btn__circle--green {
    background: var(--color-green);
}


/* ===== FOOTER ===== */

.footer {
    background: var(--color-bg);
}

.footer__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 80px 40px 60px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr;
    gap: 60px;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
    width: fit-content;
}

.footer__logo .logo__name {
    color: var(--color-text);
    font-size: 28px;
}

.footer__logo .logo__tagline {
    color: var(--color-text-muted);
}

.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 320px;
    margin: 20px 0 24px;
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

.footer__social-link:hover {
    background: var(--color-dark);
    color: #ffffff;
    border-color: var(--color-dark);
}

.footer__nav,
.footer__connect {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.footer__nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer__nav a:hover {
    opacity: 0.6;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.footer__contact-item:hover {
    opacity: 0.6;
}

.footer__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.footer__status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
}

/* тёмная полоса снизу */
.footer__bottom {
    background: var(--color-dark);
    padding: 24px 40px;
}

.footer__bottom-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom-inner span,
.footer__bottom-inner a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer__bottom-inner a:hover {
    color: #ffffff;
}