/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    background: url('img/fon1.webp') repeat;
    min-height: 100vh;
}

/* ===== MAIN SITE CONTAINER ===== */
.site-container {
    width: 76%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* ===== CARDS ===== */
.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card:last-child {
    margin-bottom: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1rem;
    color: #444444;
}

a {
    color: #e67e22;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: #d35400;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ===== CONTENT IMAGE FULL ===== */
.content-image-full {
    margin: 20px 0;
}

.content-image-full img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 1rem 0 2rem 0;
}

.hero__title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e67e22;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ===== AUTHOR BLOCK ===== */
.author-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
}

.author-block__photo {
    flex: 0 0 320px;
    max-width: 320px;
}

.author-block__photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin: 0;
    transition: all 0.3s ease;
}

.author-block__photo img:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.author-block__text {
    flex: 1;
    min-width: 220px;
}

.author-block__text p {
    text-align: justify;
}

.author-block__text hr {
    margin: 1rem 0;
    border: 0;
    border-top: 2px solid #f0ece4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .author-block__photo {
        flex: 0 0 280px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .author-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-block__photo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 220px;
        margin: 0 auto 20px auto;
    }

    .author-block__photo img {
        width: 100%;
        height: auto;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .author-block__photo img:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
        transform: translateY(-2px);
    }

    .author-block__text p {
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .author-block__photo {
        max-width: 180px;
        margin: 0 auto 15px auto;
    }

    .author-block__photo img {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .author-block__photo img:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
        transform: translateY(-1px);
    }
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.features-list li {
    padding: 8px 0;
    font-size: 1rem;
    color: #444444;
    border-bottom: 1px solid #f5f5f5;
}

.features-list li:last-child {
    border-bottom: none;
}

/* ===== LEARN SECRET ===== */
.learn-secret {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #e67e22;
    margin: 1.5rem 0;
}

/* ===== HIGHLIGHT BLOCK ===== */
.highlight-block {
    background: #fdf6ef;
    border-left: 4px solid #e67e22;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
}

.highlight-block p {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* ===== STAT BLOCK ===== */
.stat-block {
    background: #fdf6ef;
    border-radius: 12px;
    padding: 20px 25px;
    text-align: center;
    margin: 20px 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e67e22;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.stat-block--price .stat-number {
    font-size: 2rem;
}

.stat-block--saving .stat-number {
    color: #27ae60;
}

/* ===== OFFER STEPS ===== */
.offer-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
}

.offer-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: #faf8f5;
    border-radius: 8px;
}

.step-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e67e22;
    flex-shrink: 0;
    width: 40px;
}

.step-content {
    flex: 1;
}

.step-title {
    display: block;
    font-weight: 600;
    color: #2c3e50;
}

.step-desc {
    display: block;
    font-size: 0.9rem;
    color: #777;
}

/* ===== BENEFIT ITEMS ===== */
.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
}

.benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 15px;
    background: #faf8f5;
    border-radius: 8px;
}

.benefit-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 30px;
}

.benefit-text {
    flex: 1;
}

.benefit-text strong {
    display: block;
    color: #2c3e50;
}

.benefit-text span {
    font-size: 0.9rem;
    color: #777;
}

.benefit-items--loss .benefit-item {
    background: #fdf6f5;
}

.benefit-items--gain .benefit-item {
    background: #f5faf5;
}

/* ===== ORDER CARD ===== */
.order-card {
    background: #faf8f5;
}

.order-card__inner {
    display: flex;
    gap: 40px;
    align-items: center;
}

.order-card__media {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.order-card__image-wrapper {
    width: 100%;
}

.order-card__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 0;
}

.order-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    font-size: 0.75rem;
    color: #666;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e8e8e8;
}

.order-card__content {
    flex: 1;
    min-width: 0;
}

.order-card__title {
    font-size: 1.6rem;
    color: #2c3e50;
    text-align: left;
    margin-bottom: 0.5rem;
}

.order-card__subtitle {
    font-size: 1.1rem;
    color: #e67e22;
}

.order-card__price-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0ece4;
}

.price-old {
    display: flex;
    flex-direction: column;
}

.price-old-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
}

.price-old-value {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.price-new {
    display: flex;
    flex-direction: column;
}

.price-new-label {
    font-size: 0.7rem;
    color: #e67e22;
    text-transform: uppercase;
    font-weight: 600;
}

.price-new-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #e67e22;
    line-height: 1;
}

.price-saving {
    margin-left: auto;
}

.saving-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: #27ae60;
    background: #f0faf5;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #d4efe3;
}

.order-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.order-features li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #444;
    border-bottom: 1px solid #f0ece4;
}

.order-features li:last-child {
    border-bottom: none;
}

.btn-order {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: #e67e22;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Verdana', 'Arial', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.25);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 126, 34, 0.35);
    background: #d35400;
}

.btn-order__primary {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-order__secondary {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 4px;
}

/* ===== CTA BUTTONS ===== */
.cta-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #e67e22;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 126, 34, 0.3);
    background: #d35400;
}

.btn-secondary {
    background: transparent;
    color: #555555;
    border: 2px solid #e0dcd5;
}

.btn-secondary:hover {
    background: #faf8f5;
    border-color: #c8c0b5;
    color: #333333;
}

/* ===== FINAL CTA (текстовый переход) ===== */
.card--final-cta {
    background: #faf8f5;
    text-align: center;
}

.final-cta__title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.final-cta__desc {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ===== FOOTER CARDS ===== */
.footer-cards {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.footer-card {
    flex: 1;
    background: #fdfdfd;
    padding: 28px 25px;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.footer-card:hover {
    border-color: #e0dcd5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.footer-card__icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    opacity: 0.7;
}

.footer-card__title {
    font-size: 1.1rem;
    color: #2c3e50;
    text-align: left;
    margin-bottom: 8px;
}

.footer-card__text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

.footer-card__link {
    font-weight: 600;
    color: #e67e22;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-card__link:hover {
    color: #d35400;
}

.footer-card--faq {
    border-left: 3px solid #e67e22;
}

/* ===== BONUS ITEMS ===== */
.bonus-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #faf8f5;
    border-radius: 12px;
    margin-bottom: 15px;
}

.bonus-item:last-child {
    margin-bottom: 0;
}

.bonus-item img {
    flex: 0 0 120px;
    max-width: 120px;
    border-radius: 8px;
}

.bonus-info {
    flex: 1;
}

.bonus-info h3 {
    text-align: left;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.bonus-info p {
    margin-bottom: 0;
    color: #666;
}

/* ===== REVIEWS ===== */
.review {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.review:last-child {
    margin-bottom: 0;
}

.review--orange {
    background: #fdf6ef;
}

.review--yellow {
    background: #faf8f5;
}

.review__author {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review__author img {
    max-width: 80px;
    border-radius: 50%;
    margin: 0;
}

.review__text p {
    margin-bottom: 0;
    font-style: italic;
}

/* ===== GUARANTEE ===== */
.guarantee {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px;
    background: #fdf6ef;
    border-radius: 12px;
}

.guarantee__text {
    flex: 1;
}

.guarantee-signature {
    text-align: right;
    font-weight: bold;
    color: #2c3e50;
}

.guarantee__badge {
    flex: 0 0 160px;
    text-align: center;
}

.guarantee__badge img {
    max-width: 120px;
    margin: 10px auto;
}

.guarantee__badge p {
    text-align: center;
    font-weight: bold;
    color: #2c3e50;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .site-container {
        width: 85%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .site-container {
        width: 100%;
        padding: 15px;
        box-shadow: none;
    }

    .card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .order-card__inner {
        flex-direction: column;
        gap: 25px;
    }

    .order-card__media {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }

    .order-card__title {
        text-align: center;
    }

    .order-card__price-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .price-saving {
        margin-left: 0;
    }

    .price-new-value {
        font-size: 1.8rem;
    }

    .btn-order {
        width: 100%;
    }

    .footer-cards {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons-container {
        flex-direction: column;
        gap: 12px;
    }

    .btn-cta {
        width: 100%;
        min-width: unset;
        padding: 16px 20px;
    }

    .guarantee {
        flex-direction: column;
        text-align: center;
    }

    .guarantee__badge {
        flex: 0 0 auto;
        width: 100%;
    }

    .guarantee-signature {
        text-align: center;
    }

    .bonus-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bonus-item img {
        flex: 0 0 auto;
        max-width: 160px;
        width: 100%;
    }

    .bonus-info h3 {
        text-align: center;
    }

    .review__author {
        flex-direction: column;
        text-align: center;
    }

    .offer-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        width: auto;
    }

    .final-cta__title {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 10px;
    }

    .card {
        padding: 15px;
        border-radius: 8px;
    }

    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero__title {
        font-size: 1.3rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .order-card__media {
        max-width: 220px;
    }

    .price-new-value {
        font-size: 1.5rem;
    }

    .btn-order {
        padding: 12px 20px;
    }

    .btn-order__primary {
        font-size: 0.95rem;
    }

    .btn-cta {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .bonus-item {
        padding: 15px;
    }

    .bonus-item img {
        max-width: 120px;
    }

    .footer-card {
        padding: 20px 18px;
    }
}

/* ===== REVIEW CARDS ===== */
.review-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background-color: #fafafa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #f0ece4;
    transition: all 0.3s ease;
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-card:hover {
    background-color: #f8f6f3;
    border-color: #e5dfd5;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* ===== ЛЕВАЯ КОЛОНКА: АВАТАР ===== */
.review-avatar-col {
    flex-shrink: 0;
    width: 180px;
}

.review-avatar-col img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

/* ===== ПРАВАЯ КОЛОНКА: КОНТЕНТ ===== */
.review-content-col {
    flex-grow: 1;
    min-width: 0;
}

.review-content-col h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: left;
}

.review-content-col p {
    margin-bottom: 12px;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444444;
    text-align: left;
}

.review-content-col p:last-child {
    margin-bottom: 0;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 1024px) {
    .review-avatar-col {
        width: 150px;
    }

    .review-card {
        padding: 25px;
        gap: 25px;
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 768px) {
    .review-card {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 16px;
        margin-bottom: 20px;
    }

    .review-avatar-col {
        flex-shrink: 0;
        width: 140px;
        margin-bottom: 0;
    }

    .review-avatar-col img {
        border-radius: 6px;
    }

    .review-content-col {
        width: 100%;
    }

    .review-content-col h3 {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .review-content-col p {
        text-align: justify;
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===== АДАПТИВНОСТЬ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ ===== */
@media (max-width: 480px) {
    .review-card {
        padding: 16px 14px;
        gap: 12px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .review-avatar-col {
        width: 110px;
    }

    .review-content-col h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .review-content-col p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
}

/* ===== DETAILED LESSONS GALLERY ===== */
.details-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 35px 0;
}

.details-gallery img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ece4;
    transition: all 0.3s ease;
}

.details-gallery img:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* ===== LESSONS TITLE ===== */
.lessons-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.lessons-title img {
    width: 40px;
    height: 40px;
    margin: 0;
}

/* ===== DETAILED LESSONS HEADINGS ===== */
.details-gallery + h3,
.details-gallery + h2 {
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .details-gallery {
        gap: 12px;
        margin: 15px 0 28px 0;
    }
}

@media (max-width: 768px) {
    .details-gallery {
        gap: 10px;
        margin: 12px 0 25px 0;
    }

    .details-gallery img {
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .details-gallery img:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    }

    .lessons-title img {
        width: 30px;
        height: 30px;
    }

    .lessons-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .details-gallery {
        gap: 8px;
        margin: 10px 0 18px 0;
    }

    .details-gallery img {
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    }

    .lessons-title img {
        width: 24px;
        height: 24px;
    }

    .lessons-title {
        font-size: 1rem;
    }
}

/* ===== TOP NAVIGATION MENU ===== */
.top-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 18px 0 15px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0ece4;
    flex-wrap: wrap;
    background-color: transparent;
}

.top-menu a {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444444;
    text-decoration: none;
    padding: 6px 4px;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

/* Эффект подчеркивания при наведении */
.top-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s ease;
}

.top-menu a:hover {
    color: #e67e22;
}

.top-menu a:hover::after {
    width: 100%;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== BUTTON TO TOP ===== */
.btn-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background-color: #ffffff;
    color: #4a2e1b;
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 46, 27, 0.08);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-to-top:hover {
    background-color: #fcf8f5;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-to-top:active {
    transform: translateY(0px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .btn-to-top {
        right: 16px;
        bottom: 16px;
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 6px;
        background-color: #ffffff !important;
        color: #4a2e1b !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(74, 46, 27, 0.08);
    }

    .btn-to-top:active {
        background-color: #ffffff !important;
        color: #4a2e1b !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(0px);
    }
}

@media (max-width: 480px) {
    .btn-to-top {
        right: 12px;
        bottom: 12px;
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 6px;
        background-color: #ffffff !important;
        color: #4a2e1b !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
        border: 1px solid rgba(74, 46, 27, 0.08);
    }

    .btn-to-top:active {
        background-color: #ffffff !important;
        color: #4a2e1b !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
        transform: translateY(0px);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .top-menu {
        flex-direction: column;
        gap: 12px;
        padding: 14px 0 12px 0;
        margin-bottom: 8px;
    }

    .top-menu a {
        font-size: 1rem;
        padding: 8px 12px;
        width: 100%;
        text-align: center;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.5);
    }

    .top-menu a::after {
        display: none;
    }

    .top-menu a:hover {
        background: rgba(230, 126, 34, 0.08);
        color: #e67e22;
    }

    .btn-to-top {
        right: 16px;
        bottom: 16px;
        padding: 10px 16px;
        font-size: 0.8rem;
        border-radius: 40px;
        box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
    }

    .btn-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(230, 126, 34, 0.4);
    }
}

@media (max-width: 480px) {
    .top-menu {
        gap: 8px;
        padding: 10px 0 10px 0;
    }

    .top-menu a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .btn-to-top {
        right: 12px;
        bottom: 12px;
        padding: 8px 14px;
        font-size: 0.75rem;
        border-radius: 30px;
        box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
    }
}

/* ===== WELCOME CARD ===== */
.welcome-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.welcome-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ===== ЛЕВАЯ КОЛОНКА: ОБЛОЖКА ===== */
.welcome-left-col {
    width: 350px;
    flex-shrink: 0;
}

.course-cover-large {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.course-cover-large:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* ===== ПРАВАЯ КОЛОНКА: КОНТЕНТ ===== */
.welcome-right-col {
    flex-grow: 1;
    min-width: 0;
}

/* Главный заголовок */
.main-title {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    color: #2c3e50;
    margin: 0 0 16px 0;
    text-align: left;
}

/* Цитата */
.intro-quote {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 16px 0;
    padding-left: 20px;
    border-left: 4px solid #e67e22;
    font-style: italic;
}

/* Подзаголовок курса */
.course-subtitle {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #444444;
    margin: 0 0 6px 0;
}

/* Подпись автора */
.author-signature {
    font-family: 'Verdana', 'Arial', sans-serif;
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .welcome-card {
        gap: 30px;
        padding: 30px;
    }

    .welcome-left-col {
        width: 280px;
    }

    .main-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .welcome-card {
        flex-direction: column;
        align-items: center;
        padding: 24px 20px;
        gap: 24px;
        margin-bottom: 20px;
    }

    .welcome-left-col {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
        flex-shrink: 0;
    }

    .course-cover-large {
        max-width: 100%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .course-cover-large:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

    .welcome-right-col {
        width: 100%;
        text-align: center;
    }

    .main-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .intro-quote {
        font-size: 1rem;
        padding-left: 0;
        border-left: none;
        border-top: 3px solid #e67e22;
        padding-top: 14px;
        text-align: center;
    }

    .course-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    .author-signature {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .welcome-card {
        padding: 18px 14px;
        gap: 18px;
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .welcome-left-col {
        max-width: 200px;
    }

    .main-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .intro-quote {
        font-size: 0.9rem;
        padding-top: 12px;
        margin-bottom: 12px;
    }

    .course-subtitle {
        font-size: 0.85rem;
    }

    .author-signature {
        font-size: 0.85rem;
    }
}