/* База и токены — в theme.css (подключается первым) */

/* Навигационное меню */
.navbar {
    background-color: var(--brand);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow .3s ease, background-color .3s ease;
}

/* Тень появляется при прокрутке (класс вешает JS) */
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .logo img {
    height: 40px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: var(--accent);
}

.navbar .contact-button a {
    background-color: #fff;
    color: var(--brand);
    padding: 10px 22px;
    border-radius: var(--r-pill);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .contact-button a:hover {
    background-color: var(--accent);
    color: #fff;
}

.navbar .logo img {
    height: 42px;
    width: auto;
    max-height: none;
    display: block;
}

/* Основной блок с фоновым изображением */
.hero-section {
    background-image: url("1BlockImage.png");
    background-size: cover;
    background-position: center;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

/* Брендовый градиент-оверлей вместо плоского чёрного */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(11, 36, 91, .58) 0%,
            rgba(11, 36, 91, .74) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-kicker {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hero-subtitle {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

/* Крылатая фраза-эпиграф (цитата) в hero */
.hero-epigraph {
    position: relative;
    max-width: 620px;
    margin: 18px auto 34px;
    padding-top: 42px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

/* Крупная декоративная кавычка сверху */
.hero-epigraph::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
}

.hero-epigraph__text {
    display: block;
    font-style: italic;
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    line-height: 1.45;
    color: #fff;
}

.hero-epigraph cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

/* Короткая линия перед именем автора */
.hero-epigraph cite::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    vertical-align: middle;
    margin-right: 10px;
    background: var(--accent);
}

/* Секция "О себе" */
.about-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-tint);
}

.about-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1.5;
    color: var(--body);
    line-height: 1.7;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--ink);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--body);
}

.about-video {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 16;
    /* Вертикальное соотношение */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}


.about-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.video-caption {
    margin-top: 10px;
    text-align: center;
}

.video-caption p {
    margin: 0;
    color: #666;
}

.video-caption p strong {
    color: #333;
    font-weight: bold;
}

.about-section {
    position: relative;
}

.about-section::after {
    content: "";
    position: absolute;
    bottom: -20px;
    /* Расстояние от нижней части блока "О себе" */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Длина линии, например, 80% от ширины блока */
    height: 4px;
    /* Толщина в центре */
    background: linear-gradient(to right,
            rgba(11, 36, 91, 0),
            var(--brand),
            rgba(11, 36, 91, 0));
    border-radius: 10px;
    /* Скругление краёв для более мягкого эффекта */
}

.certificates-section {
    overflow: hidden;
    padding: var(--section-y) 0;
    background-color: var(--sec-white);
    /* Плавное затухание ленты по краям */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.certificates-container {
    display: flex;
    width: max-content;
    /* Единственный механизм движения — CSS-лента.
       Трек продублирован в DOM 1 раз, поэтому сдвиг на -50% бесшовный. */
    animation: cert-scroll 60s linear infinite;
}

/* Пауза при наведении */
.certificates-section:hover .certificates-container {
    animation-play-state: paused;
}

.certificate {
    flex: 0 0 auto;
    margin: 0 12px;
}

.certificate img {
    max-height: 220px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    width: auto;
    height: auto;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
}

.certificate img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

@keyframes cert-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* При reduced-motion лента не едет */
@media (prefers-reduced-motion: reduce) {
    .certificates-container { animation: none; }
}

/* Секция "Услуги" */
.services-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-tint);
    text-align: center;
}

.services-section h2 {
    margin-bottom: 16px;
    color: var(--ink);
}

.services-section > .container > p {
    font-size: 1.05rem;
    margin-bottom: 48px;
    color: var(--muted);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Карточки услуг */
.services-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
}

.service-card {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    flex: 1 1 300px;
    /* Гибкая ширина карточек */
    max-width: 500px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
}

.service-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-050);
    border-radius: 50%;
}

.service-card img {
    width: 34px;
    height: 34px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--ink);
    text-align: left;
}

.service-card p {
    font-size: 1rem;
    color: var(--body);
    line-height: 1.6;
    text-align: left;
}

.service-text {
    padding-right: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Секция "Моя студия" */
.studio-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-tint);
}

.studio-section h2 {
    margin-bottom: 24px;
    color: var(--ink);
    text-align: center;
}

.studio-section > .container > .section-kicker {
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
}

.studio-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* Для адаптации на маленьких экранах */
}

.studio-image {
    flex: 1;
    max-width: 600px;
}

.studio-image img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

.studio-text {
    flex: 1;
    color: var(--body);
}


.studio-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--body);
}

/* Секция "Обучение" */
.training-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-white);
}

.training-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: var(--brand-050);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(32px, 5vw, 56px);
}

.training-card h2 {
    margin-bottom: 16px;
    color: var(--ink);
}

.training-card p {
    color: var(--body);
    max-width: 620px;
    margin: 0 auto 28px;
}

/* Секция с услугой стелек */
.insoles-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: #fff;
    text-align: left;
    min-height: 750px;
    background-image: url("insoles-bg.png");
}

.insoles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Брендовый градиент: насыщенный navy слева → прозрачность справа */
    background: linear-gradient(100deg,
            rgba(11, 36, 91, .93) 0%,
            rgba(11, 36, 91, .80) 45%,
            rgba(11, 36, 91, .38) 100%);
    display: flex;
    align-items: center;
    padding: 20px 0;
}

/* Контент стелек выравнивается по общей сетке (как остальные секции) */
.insoles-overlay .container {
    width: 100%;
}

.insoles-content .btn {
    margin-top: 8px;
}

/* Предложение по стелькам с ценой-бейджем */
.insoles-offer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 10px 0 18px;
}

.insoles-price {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    padding: 6px 18px;
    border-radius: var(--r-pill);
    white-space: nowrap;
}

.insoles-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    text-align: left;
}

.insoles-content h2 {
    color: #fff;
    margin-bottom: 20px;
}

.insoles-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
}

/* Секция прайс-листа */
.price-list-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-tint);
    text-align: center;
}

.price-list-section h2 {
    margin-bottom: 32px;
    color: var(--ink);
}

.price-table h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--brand);
    text-align: left;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-050);
}

.price-table {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 40px;
    /* Центрирование блока с прайс-листом */
}

.price-item {
    text-align: left;
    padding: 16px 0;
    font-size: 1.05rem;
    color: var(--body);
    border-bottom: 1px solid var(--line);
    /* Тонкая разделительная линия под каждым пунктом */
}

/* Строка «название — цена» */
.price-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.price-name {
    font-weight: 600;
    text-align: left;
    color: var(--ink);
    flex: 1;
    min-width: 0;
    /* даём имени переноситься, чтобы длинная цена не выдавливалась за край */
    overflow-wrap: break-word;
}

.price-value {
    font-weight: 700;
    text-align: right;
    font-size: 1.1rem;
    color: var(--price);
    white-space: nowrap;
    /* Акцент на стоимости */
}

/* Бесплатная услуга — тёплый акцент */
.price-free {
    color: var(--accent-600);
}

.price-comment {
    font-weight: normal;
    font-size: .92rem;
    color: var(--muted);
    margin-top: 4px;
}

/* Длительность процедуры — компактная «пилюля» */
.price-duration {
    display: inline-block;
    margin-top: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--brand);
    background: var(--brand-050);
    padding: 3px 12px;
    border-radius: var(--r-pill);
}

.price-group {
    flex: 1 1 calc(50% - 12px);
    min-width: 300px;
    padding: 22px 26px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.price-group .price-item:last-child {
    border-bottom: none;
    /* Убираем лишнюю линию у последнего пункта в карточке */
}

/* Контейнер для карты */
.contact-map-section {
    position: relative;
    width: 100%;
    height: 600px;
    /* Высота секции */
    overflow: hidden;
}

.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#map {
    width: 100%;
    height: 100%;
    border: none;
}

/* Контейнер с контактной информацией */
.contact-info {
    position: absolute;
    background-color: white;
    width: 300px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 10;
    /* Размещает блок поверх карты */
    text-align: center;

    /* Настройка позиции */
    top: 20%;
    /* Смещение по вертикали */
    left: 10%;
    /* Смещение по горизонтали */

}

.contact-info h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: var(--ink);
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body);
}

.contact-info a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--brand-600);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.social-links a img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    box-sizing: border-box;
}
/* TikTok заполняет viewBox под обрез (глиф ~100% против ~68% у остальных).
   Даём внутренние поля, чтобы визуально совпадал по размеру.
   box-sizing тут обязателен: поля должны убавлять глиф, а не раздувать бокс. */
.social-links a img[src*="tiktok"] {
    box-sizing: border-box;
    object-fit: contain;
    padding: 8px;
}
.social-links a svg {
    width: 100%;
    height: 100%;
}

/* Сноски под прайсом — выделенный блок-callout */
.price-notes {
    max-width: 1080px;
    margin: 32px auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--r-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.price-notes p {
    font-size: .95rem;
    color: var(--body);
    line-height: 1.6;
    margin: 0;
}

/* Адрес в форме обратного звонка */
.callback-address {
    margin-bottom: 24px;
    color: var(--body);
    font-size: .98rem;
}

/* Секция формы обратного звонка */
.callback-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-white);
}

.callback-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--brand-050);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(28px, 4vw, 48px);
}

.callback-card h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 28px;
    color: var(--ink);
}

.callback-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: start;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.field-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
}

.req {
    color: var(--accent);
}

.callback-form input[type="text"],
.callback-form input[type="tel"] {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.callback-form input[type="text"]:focus,
.callback-form input[type="tel"]:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(11, 36, 91, .12);
}

.field--address {
    gap: 12px;
}

.radio,
.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: .95rem;
    color: var(--body);
    line-height: 1.4;
}

.radio input,
.consent input {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    flex: 0 0 auto;
}

.consent a {
    color: var(--brand);
    text-decoration: underline;
}

.callback-form button {
    align-self: flex-start;
}

/* Секция FAQ / «Быстрые ответы» */
.faq-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-tint);
    text-align: center;
}

.faq-section h2 {
    margin-bottom: 32px;
    color: var(--ink);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: #d4dbe9;
}

.faq-item[open] {
    border-color: var(--brand);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
    transition: color .2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Плюс, который на раскрытии превращается в крестик */
.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent);
    transition: transform .25s ease;
    flex: 0 0 auto;
}

.faq-item summary:hover {
    color: var(--brand);
}

.faq-item[open] summary {
    color: var(--brand);
}

.faq-item[open] summary::after {
    transform: rotate(135deg);
}

/* Плавное раскрытие (высоту анимирует faq.js) */
.faq-answer {
    padding: 0 22px 20px;
    overflow: hidden;
    transition: height .3s ease;
}

.faq-answer p {
    color: var(--body);
    margin: 0;
}

/* Секция отзывов (источник — 2ГИС) */
.reviews-section {
    padding: var(--section-y) 20px;
    background-color: var(--sec-white);
    text-align: center;
}

.reviews-section h2 {
    color: var(--ink);
    margin-bottom: 10px;
}

.reviews-sub {
    color: var(--muted);
    margin-bottom: 40px;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 36px;
}

.review-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: var(--brand-050);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 24px;
    text-align: left;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .9rem;
    flex: 0 0 auto;
}

.review-meta {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    min-width: 0;
}

.review-author {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
}

.review-source {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--brand);
    background: #fff;
    border: 1px solid var(--line);
    padding: 3px 10px;
    border-radius: var(--r-pill);
    flex: 0 0 auto;
}

.review-stars {
    color: #f5a623;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 10px;
}

.review-text {
    color: var(--body);
    margin: 0;
    line-height: 1.6;
}

/* Футер / копирайт */
.quote-section {
    background-color: var(--ink);
    padding: 28px 20px;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}

.quote-text {
    font-size: 0.8rem;
    line-height: 1.7;
    font-style: normal;
    max-width: 900px;
    margin: 0 auto;
}


/* Секция для анимаций */
/* Появление секций через opacity отключено: на iOS Safari opacity-переход
   по IntersectionObserver иногда не перерисовывается (прайс не виден, пока
   не откроешь меню). Контент всегда виден — надёжно во всех браузерах.
   Оставляем лёгкий разовый заезд снизу (transform не ломает отрисовку). */
.fade-in {
    animation: fade-in-up .6s ease-out both;
}

@keyframes fade-in-up {
    from { transform: translateY(14px); }
    to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { animation: none; }
}


/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.modal-navigation button {
    background-color: var(--brand);
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 16px;
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: var(--r-pill);
}

.modal-navigation button:hover {
    background-color: var(--brand-600);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}


.certificates-container img {
    cursor: pointer;
}