@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(120, 80, 100, 0.18), transparent 30%),
        #151515;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 0;
    z-index: 10;
    background: rgba(21, 21, 21, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;

    transform: none;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-family: "Forum", serif;
    color: #d0d0d0;
    text-decoration: none;

    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.main-nav a:hover {
    color: #ffffff;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: relative;
    background: #0d0d0f;
    overflow: hidden;
}

/* Фото слева */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 35vw;
    height: 100%;

    z-index: 0;

    background-image: url("../images/master-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    opacity: 0.8;

    -webkit-mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 42%,
        rgba(0, 0, 0, 0.75) 58%,
        rgba(0, 0, 0, 0.28) 76%,
        transparent 100%
    );

    mask-image: linear-gradient(
        90deg,
        #000 0%,
        #000 42%,
        rgba(0, 0, 0, 0.75) 58%,
        rgba(0, 0, 0, 0.28) 76%,
        transparent 100%
    );
}

/* Затемнение и общий градиент */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(13, 13, 15, 0.18) 0%,
            rgba(13, 13, 15, 0.10) 26%,
            rgba(13, 13, 15, 0.45) 45%,
            #0d0d0f 82%,
            #0d0d0f 100%
        ),
        radial-gradient(
            circle at 22% 42%,
            rgba(214, 184, 197, 0.12),
            transparent 94%
        );
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    width: 52%;
    max-width: 760px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 24px;
    color: #d6b8c5;
    font-size: 16px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 106px);
    line-height: 0.95;
    font-weight: 1200;
    letter-spacing: -0.040em;
}

.hero p {
    max-width: 620px;
    margin-top: 28px;
    color: #d7d7d7;
    font-size: 23px;
    line-height: 1.9;
    font-weight: 550;
    letter-spacing: -0.001em;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.btn-main,
.btn-secondary-custom {
    font-family: "Forum", serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 20px;
    transition: 0.25s ease;
}

.btn-main {
    background: #f5f5f5;
    color: #111111;
}

.btn-main:hover {
    background: #d6b8c5;
    color: #111111;
    transform: translateY(-2px);
}

.btn-secondary-custom {
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary-custom:hover {
    border-color: #d6b8c5;
    color: #d6b8c5;
    transform: translateY(-2px);
}

.hero-image-card {
    width: min(420px, 100%);
    aspect-ratio: 4 / 5;
    border-radius: 34px;
    overflow: hidden;
    background: #242424;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
    transform: rotate(2deg);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* адаптация под телефон */
@media (max-width: 900px) {
    .site-header {
        position: static;
    }

    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero h1 {
        font-size: 46px;
    }
}

.page-section {
    padding: 150px 0 90px;
}

.page-title {
    max-width: 720px;
    margin-bottom: 54px;
}

.page-title h1 {
    font-family: "Forum", serif;
    font-weight: 600;
    font-size: clamp(70px, 7vw, 96px);
    line-height: 0.8;
    letter-spacing: -0.01em;
}

.page-title p {
    margin-top: 25px;
    font-family: "Forum", serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: -0.0001em;
}

/* ===== КОНТАКТЫ ===== */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.contact-card {
    padding: 32px;
    border-radius: 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    color: #ffffff;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);

    cursor: pointer;
    overflow: hidden;

    transition: 0.3s ease;
}

.contact-card:hover {
    color: #ffffff;
    transform: translateY(-6px);
    border-color: rgba(214, 184, 197, 0.45);
    background: rgba(255, 255, 255, 0.075);
}

.contact-card h3 {
    font-family: "Forum", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.001em;
}

.contact-card p {
    font-family: "Forum", serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.35;
    color: #c7c7c7;
    letter-spacing: -0.001em;
}

.contact-link-text {
    font-family: "Forum", serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3;
    color: #d6b8c5;
    letter-spacing: -0.001em;
}

.contact-card:hover .contact-link-text {
    color: #ffffff;
}

.contact-icon {
    width: 76px;
    height: 76px;

    object-fit: contain;
    flex-shrink: 0;

    opacity: 0.25;
    filter: grayscale(1) brightness(1.7);

    transition: 0.3s ease;
}

.contact-card:hover .contact-icon {
    opacity: 1;
    filter: none;
    transform: scale(1.08) rotate(-4deg);
}

.contact-card-with-icon {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.contact-card-with-icon > div {
    position: relative;
    z-index: 2;
}

.contact-icon {
    width: 76px;
    height: 76px;

    object-fit: contain;

    opacity: 0.22;
    filter: grayscale(1) brightness(1.7);

    transition: 0.3s ease;
}

.contact-card:hover .contact-icon {
    opacity: 2.45;
    transform: scale(1.08) rotate(-4deg);
}

/* ===== ФОН С МАНДАЛОЙ НА СТРАНИЦЕ КОНТАКТОВ ===== */

.contacts-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    min-height: 100vh;
    padding: 170px 0 110px;

    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(214, 184, 197, 0.08),
            transparent 30%
        ),
        #0d0d0f;
}

/* сама мандала */
.contacts-page::before {
    content: "";
    position: absolute;

    top: 5px;
    right: -20px;

    width: 860px;
    height: 860px;

    z-index: 0;

    background-image: url("../images/decor/mandala.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.10;
    filter: brightness(0.8);

    pointer-events: none;

    -webkit-mask-image:
        radial-gradient(
            circle,
            #000 0%,
            rgba(0, 0, 0, 0.75) 34%,
            rgba(0, 0, 0, 0.28) 58%,
            transparent 76%
        );

    mask-image:
        radial-gradient(
            circle,
            #000 0%,
            rgba(0, 0, 0, 0.75) 34%,
            rgba(0, 0, 0, 0.28) 58%,
            transparent 76%
        );
}

/* дополнительное затемнение, чтобы мандала не спорила с текстом */
.contacts-page::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #0d0d0f 0%,
            rgba(13, 13, 15, 0.82) 42%,
            rgba(13, 13, 15, 0.55) 100%
        );
}

/* контент поверх фона */
.contacts-page .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 28px;
    }

    .contact-icon {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .page-section {
        padding: 70px 0;
    }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-bg {
        background:
            linear-gradient(
                180deg,
                rgba(13, 13, 15, 0.48) 0%,
                rgba(13, 13, 15, 0.82) 42%,
                #0d0d0f 100%
            ),
            url("../images/master-bg.jpg");

        background-size: cover;
        background-position: center top;
    }

    .hero-container {
        justify-content: flex-start;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-top: 320px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 17px;
    }
}

.works-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    min-height: 100vh;
    padding: 180px 0 160px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(214, 184, 197, 0.08),
            transparent 30%
        ),
        #0d0d0f;
}

.works-section::before {
    content: "";
    position: absolute;

    top: 40px;
    right: 260px;

    width: 960px;
    height: 1320px;

    z-index: 0;

    background-image: url("../images/decor/cat.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.07;
    filter: grayscale(1) brightness(0.75);

    pointer-events: none;

    -webkit-mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 16%,
            #000 72%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 16%,
            #000 72%,
            transparent 100%
        );
}

.works-section .container {
    position: relative;
    z-index: 2;
}

.section-heading {
    max-width: 960px;
    margin-bottom: 56px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 86px);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-heading p {
    max-width: 620px;
    margin-top: 22px;
    color: #c7c7c7;
    font-size: 19px;
    line-height: 1.7;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    position: relative;
    min-height: 320px;
    padding: 34px;
    border-radius: 30px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    color: #ffffff;
    text-decoration: none;

    background: #18181a;
    border: 1px solid rgba(255, 255, 255, 0.09);

    transition: 0.3s ease;
}

.work-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.42;
    transition: 0.35s ease;
}

.work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(13, 13, 15, 0.15) 0%,
            rgba(13, 13, 15, 0.55) 48%,
            rgba(13, 13, 15, 0.92) 100%
        );
}

.work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 184, 197, 0.55);
}

.work-card:hover::before {
    opacity: 0.62;
    transform: scale(1.06);
}

.work-card-nadpisi::before {
    background-image: url("../images/categories/nadpisi.jpg");
    background-position: center 45%;
}

.work-card-mini::before {
    background-image: url("../images/categories/mini-tattoo.jpg");
    background-position: center 90%;
}

.work-card-tattoo::before {
    background-image: url("../images/categories/tattoo.jpg");
    background-position: center 40%;
}

.work-number {
    position: relative;
    z-index: 2;

    margin-bottom: auto;
    color: #d6b8c5;
    font-size: 14px;
    letter-spacing: 0.18em;
}

.work-card-content {
    position: relative;
    z-index: 2;
}

.work-card h3 {
    margin: 0 0 18px;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.work-card p {
    margin: 0;
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.001em;
}

.portfolio-page {
    min-height: 100vh;
    padding: 160px 0 90px;
    background: #0d0d0f;
}

.portfolio-empty {
    padding: 42px;
    border-radius: 28px;
    color: #c7c7c7;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .works-section {
        padding: 80px 0;
    }

    .work-card {
        min-height: 260px;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 3 / 4;
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: 0.35s ease;
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

#work-cards {
    scroll-margin-top: 40px;
}

.portfolio-back-card {
    aspect-ratio: 3 / 4;
    border-radius: 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 34px;

    color: #ffffff;
    text-decoration: none;

    background:
        linear-gradient(
            180deg,
            rgba(214, 184, 197, 0.12),
            rgba(255, 255, 255, 0.045)
        );

    border: 1px solid rgba(214, 184, 197, 0.28);
    transition: 0.3s ease;
}

.portfolio-back-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 184, 197, 0.65);
    background:
        linear-gradient(
            180deg,
            rgba(214, 184, 197, 0.20),
            rgba(255, 255, 255, 0.06)
        );
    color: #ffffff;
}

.back-arrow {
    margin-bottom: auto;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 28px;
    color: #111111;
    background: #f5f5f5;
}

.portfolio-back-card h3 {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.portfolio-back-card p {
    margin: 0;
    color: #c7c7c7;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== СТРАНИЦА СТОИМОСТИ ===== */

.prices-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    min-height: 100vh;
    padding: 170px 0 110px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(214, 184, 197, 0.08),
            transparent 32%
        ),
        #0d0d0f;
}

.prices-page .container {
    position: relative;
    z-index: 2;
}

.prices-grid {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Монета между двумя карточками */
.prices-grid::before {
    content: "";
    position: absolute;

    left: 49.95%;
    top: -11px;

    width: 620px;
    height: 620px;

    transform: translate(-50%, -50%);

    z-index: 0;

    background-image: url("../images/decor/coin.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.10;
    filter: grayscale(1) brightness(0.75);

    pointer-events: none;

    -webkit-mask-image:
        radial-gradient(
            circle,
            #000 0%,
            rgba(0, 0, 0, 0.75) 42%,
            rgba(0, 0, 0, 0.25) 68%,
            transparent 82%
        );

    mask-image:
        radial-gradient(
            circle,
            #000 0%,
            rgba(0, 0, 0, 0.75) 42%,
            rgba(0, 0, 0, 0.25) 68%,
            transparent 82%
        );
}

/* Общая карточка цены */
.price-card {
    position: relative;
    min-height: 300px;
    padding: 34px 38px;
    border-radius: 32px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #18181a;
    border: 1px solid rgba(255, 255, 255, 0.09);

    transition: 0.3s ease;
}

/* Фото внутри карточки */
.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.18;
    transition: 0.35s ease;
}

/* Затемняющий градиент поверх фото */
.price-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(13, 13, 15, 0.25) 0%,
            rgba(13, 13, 15, 0.68) 52%,
            rgba(13, 13, 15, 0.96) 100%
        );
}

/* Весь текст поверх картинки */
.price-card > * {
    position: relative;
    z-index: 2;
}

/* Картинка для первой карточки */
.price-card-mini::before {
    background-image: url("../images/prices/mini-price.jpg");
}

/* Картинка для второй карточки */
.price-card-tattoo::before {
    background-image: url("../images/prices/tattoo-price.jpg");
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214, 184, 197, 0.55);
}

.price-card:hover::before {
    opacity: 0.32;
    transform: scale(1.06);
}

.price-number {
    margin-bottom: 35px;
    color: #d6b8c5;
    font-size: 14px;
    letter-spacing: 0.18em;
}

.price-card h2 {
    font-family: "Forum", serif;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.001em;
}

.price-card p {
    font-family: "Forum", serif;
    max-width: 520px;
    margin: 0;
    color: #e0e0e0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
}

.price-value {
    font-family: "Forum", serif;
    margin-top: auto;
    padding-top: 28px;

    font-size: 52px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.price-button {
    width: fit-content;
    margin-top: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 30px;

    border-radius: 999px;
    text-decoration: none;

    background: #f5f5f5;
    color: #111111;

    transition: 0.25s ease;
}

.price-button:hover {
    background: #d6b8c5;
    color: #111111;
    transform: translateY(-2px);
}

.price-note {
    position: relative;
    overflow: hidden;

    margin-top: 60px;
    padding: 36px 40px;

    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);

    background: #18181a;
}

.price-note::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url("../images/prices/price-note.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.32;
}

.price-note::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(13, 13, 15, 0.88) 0%,
            rgba(13, 13, 15, 0.68) 45%,
            rgba(13, 13, 15, 0.92) 100%
        );
}

.price-note p {
    position: relative;
    z-index: 2;

    margin: 0;
    color: #f0f0f0;
    font-size: 17px;
    line-height: 1.7;
}

.price-note p {
    font-family: "Forum", serif;
    margin: 0;
    color: #f5f5f5;
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: -0.001em;
}

/* Адаптация */
@media (max-width: 900px) {
    .prices-page {
        padding: 120px 0 80px;
    }

    .prices-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 280px;
    }

    .price-card h2 {
        font-size: 32px;
    }

    .price-value {
        font-size: 36px;
    }
}

@media (max-width: 900px) {
    .prices-page {
        padding: 120px 0 80px;
    }

    .prices-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        min-height: 360px;
    }

    .price-card h2 {
        font-size: 32px;
    }

    .price-value {
        font-size: 36px;
    }
}

.guide-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    min-height: 100vh;
    padding: 170px 0 110px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(214, 184, 197, 0.08),
            transparent 32%
        ),
        #0d0d0f;
}

.guide-page::before {
    content: "";
    position: absolute;

    top: 60px;
    right: 250px;

    width: 470px;
    height: 470px;

    z-index: 0;

    background-image: url("../images/decor/cat-guide.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.16;
    filter: grayscale(1) brightness(0.75);

    pointer-events: none;

    -webkit-mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 14%,
            #000 72%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 14%,
            #000 72%,
            transparent 100%
        );
}

.guide-page .container {
    position: relative;
    z-index: 2;
}


.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

/* ===== КАРТОЧКИ ТАТУ-ГИДА С ФОНОМ ===== */

.guide-card {
    position: relative;
    overflow: hidden;

    min-height: 360px;
    padding: 34px;
    border-radius: 30px;

    background: #18181a;
    border: 1px solid rgba(255, 255, 255, 0.09);

    transition: 0.3s ease;
}

.guide-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.25;
    transition: 0.35s ease;
}

.guide-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(13, 13, 15, 0.72) 0%,
            rgba(13, 13, 15, 0.82) 45%,
            rgba(13, 13, 15, 0.96) 100%
        );
}

.guide-card > * {
    position: relative;
    z-index: 2;
}

.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 184, 197, 0.45);
}

.guide-card:hover::before {
    opacity: 0.42;
    transform: scale(1.06);
}

.guide-card-prepare::before {
    background-image: url("../images/guide/prepare.jpg");
}

.guide-card-consultation::before {
    background-image: url("../images/guide/consultation.jpg");
}

.guide-card-care::before {
    background-image: url("../images/guide/care.jpg");
}

.guide-card-healing::before {
    background-image: url("../images/guide/healing.jpg");
}

.guide-card-forbidden::before {
    background-image: url("../images/guide/forbidden.jpg");
}

.guide-card-faq::before {
    background-image: url("../images/guide/faq.jpg");
}

.guide-number {
    display: inline-block;
    margin-bottom: 34px;

    color: #d6b8c5;
    font-size: 14px;
    letter-spacing: 0.18em;
}

.guide-card h2 {
    font-family: "Forum", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.guide-card ul {
    margin: 0;
    padding-left: 20px;
}

.guide-card li {
    font-family: "Forum", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.95;
    color: #e0e0e0;
}

.guide-consultation {
    margin-top: 34px;
    padding: 38px;
    border-radius: 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(214, 184, 197, 0.14),
            rgba(255, 255, 255, 0.04)
        );

    border: 1px solid rgba(214, 184, 197, 0.24);
}

.guide-consultation h2 {
    font-family: "Forum", serif;
    font-size: 42px;
    line-height: 1.45;
    font-weight: 600;
}

.guide-consultation p {
    font-family: "Forum", serif;
    font-size: 22px;
    line-height: 1.45;
    font-weight: 400;
}

@media (max-width: 900px) {
    .guide-page {
        padding: 120px 0 80px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-consultation {
        flex-direction: column;
        align-items: flex-start;
    }

    .guide-consultation h2 {
        font-size: 32px;
    }
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 30px;

    border-radius: 999px;
    text-decoration: none;
    font-size: 18px;

    background: #f5f5f5;
    color: #111111;

    border: 1px solid #f5f5f5;

    transition: 0.25s ease;
}

.btn-telegram:hover {
    background: #d6b8c5;
    border-color: #d6b8c5;
    color: #111111;
    transform: translateY(-2px);
}

/* ===== ШРИФТ COMFORTAA ТОЛЬКО ДЛЯ ГЛАВНОЙ ===== */

.hero,
.hero h1,
.hero p,
.hero-label,
.hero-actions a,
.works-section,
.works-section h2,
.works-section h3,
.works-section p,
.work-card,
.work-card h3,
.work-card p {
    font-family: "Forum", serif;
}

/* ===== СТРАНИЦА КОНТАКТОВ НА FORUM ===== */

.contacts-page,
.contacts-page h1,
.contacts-page h2,
.contacts-page h3,
.contacts-page p,
.contacts-page span,
.contacts-page a {
    font-family: "Forum", serif;
}


/* ===== ИСПРАВЛЕНИЕ HERO НА МОБИЛЬНЫХ: БЕЗ ДУБЛИРОВАНИЯ ФОТО ===== */

@media (max-width: 768px) {
    .hero-bg::before {
        background-image: url("../images/hero.jpg");
        background-repeat: no-repeat;
        background-position: left top;
        background-size: auto 760px;
    }

    .hero-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        opacity: 0.1;

        background:
            linear-gradient(
                200deg,
                rgba(13, 13, 15, 0.00) 0%,
                rgba(13, 13, 15, 0.12) 35%,
                rgba(13, 13, 15, 0.38) 68%,
                rgba(13, 13, 15, 0.78) 100%
            ),
            linear-gradient(
                180deg,
                rgba(13, 13, 15, 0.00) 0%,
                rgba(13, 13, 15, 0.02) 50%,
                rgba(13, 13, 15, 0.68) 100%
            );
    }

    .hero-container,
    .hero-content {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .guide-page::before {
        top: -20px;

        left: 69%;
        right: auto;

        width: 420px;
        height: 560px;

        transform: translateX(-50%);

        opacity: 0.12;
        background-size: contain;
        background-position: center top;
    }
