/* about.css — стили для шаблона LP-AVS-XX (О психологе) */
/* === Bootstrap 4 классы, отсутствующие в теме === */


/* Courses toggle */
.courses-toggle {
    cursor: pointer;
    text-decoration: none !important;
}

.courses-toggle:hover {
    text-decoration: underline !important;
}

.courses-icon {
    transition: transform 0.3s;
    display: inline-block;
}

/* === End Bootstrap补丁 === */

body {
    /*font-family: 'Roboto', sans-serif;*/
    background-color: #f7f9fb;
    color: #333;
    /*line-height: 1.7;*/
}

.card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-radius: 16px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
    color: #2c3e50;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2cd3b4;
    border-radius: 2px;
}

.lead {
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-avatar {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(44, 211, 180, 0.25);
}

.hero-badges span {
    background: #e6fcf5;
    color: #0ca678;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.highlight-box {
    background: linear-gradient(135deg, #e3fdf5 0%, #ffe6fa 100%);
    border-radius: 12px;
    padding: 25px;
    border-left: 5px solid #2cd3b4;
}

/* Quote Box */
.quote-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.quote-box:before {
    content: '"';
    font-size: 80px;
    color: #2cd3b4;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: 600;
    color: #2c3e50;
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 12px 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }

    .footer-spacer {
        height: 80px;
    }

    h1 {
        font-size: 1.6rem;
    }
}

.check-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 28px;
}

.check-list li:before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: #2cd3b4;
    position: absolute;
    left: 0;
    top: 2px;
}

.review-card {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #eee;
    height: 100%;
}

.review-author {
    font-weight: 700;
    color: #444;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
}

.price-big {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

/* Meet Me Media Section */
.meet-me-section {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.meet-me-section h2 {
    color: #2c3e50;
}

.video-vertical {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 280px;
}

.video-vertical video {
    width: 100%;
    height: auto;
    display: block;
}

.photo-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photo-grid img {
    border-radius: 12px;
    width: 100%;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.photo-grid img:hover {
    transform: scale(1.03);
}

/* Diploma Gallery */
.diploma-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.diploma-item {
    width: calc(33.33% - 10px);
    text-align: center;
}

.diploma-thumb {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}

.diploma-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.diploma-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.diploma-caption {
    font-size: 0.75rem;
    color: #888;
    margin-top: 6px;
    line-height: 1.3;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    z-index: 10001;
    user-select: none;
}

.lightbox-nav:hover {
    opacity: 0.7;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    max-width: 80%;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 12px;
}

.bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
}

.video-cell {
    grid-row: 1 / 3;
    grid-column: 1;
}

.video-cell .video-poster,
.video-cell video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.play-button:hover {
    background: rgba(44, 211, 180, 0.9);
    transform: scale(1.1);
}

.photo-cell {
    cursor: pointer;
    grid-column: 2;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-cell:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .video-cell {
        grid-column: 1 / 3;
        grid-row: 1;
        height: 400px;
    }

    .photo-cell {
        grid-column: auto;
        height: 150px;
    }
}

/* Shared Lightbox Styles */
#lightbox-content img,
#lightbox-content video {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Override default lightbox img style */
.lightbox img {
    box-shadow: none;
    border-radius: 0;
}


/* Универсальная бенто-сетка для фотографий специалистов */
.specialist-photo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: 260px 260px;
    gap: 12px;
}

.specialist-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
    cursor: pointer;
}

.specialist-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.specialist-photo-card:hover img {
    transform: scale(1.05);
}

.specialist-photo-card--tall {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .specialist-photo-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 320px 150px;
    }

    .specialist-photo-card--tall {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .specialist-photo-card:not(.specialist-photo-card--tall) {
        grid-row: 2;
        min-height: 150px;
    }
}