/*
Theme Name: Margarita Studio
Theme URI: https://margarita-studio.ru
Author: Маргарита Степанова
Author URI: https://margarita-studio.ru
Description: Современная минималистичная тема для студии красоты
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: margarita-studio
*/

/* ======================================== */
/* ИМПОРТ ШРИФТОВ */
/* ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

/* ======================================== */
/* ПЕРЕМЕННЫЕ */
/* ======================================== */
:root {
    --bg: #FFFFFF;
    --bg-alt: #F7F7F9;
    --text: #1A1A1A;
    --text-light: #6B6B6B;
    --border: #EAEAEF;
    --accent: #000000;
    --card: #FFFFFF;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body.dark-mode {
    --bg: #0A0A0A;
    --bg-alt: #111111;
    --text: #EDEDED;
    --text-light: #888888;
    --border: #222222;
    --accent: #FFFFFF;
    --card: #111111;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.large-text {
    font-size: 18px;
}

body.large-text h1 {
    font-size: clamp(52px, 9vw, 96px);
}

body.large-text h2 {
    font-size: clamp(36px, 6vw, 60px);
}

body.large-text h3 {
    font-size: 22px;
}

body.large-text p {
    font-size: 18px;
}

/* ======================================== */
/* RESET & БАЗА */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ======================================== */
/* ТИПОГРАФИКА */
/* ======================================== */
h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 24px;
	font-family: 'MyCustomFont', sans-serif;
}

h1 .accent {
    font-weight: 400;
    color: var(--text-light);
    display: block;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 48px;
    position: relative;
	font-family: 'MyCustomFont', sans-serif;
}



.section-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
	font-family: 'MyCustomFont', sans-serif;
}

/* ======================================== */
/* КНОПКИ */
/* ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 100px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'MyCustomFont2', sans-serif;
	text-decoration: none !important;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text);
    transform: translateY(-2px);
}

/* ======================================== */
/* КНОПКИ УПРАВЛЕНИЯ */
/* ======================================== */
.control-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    z-index: 1000;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 18px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.05);
    border-color: var(--text);
}

/* ======================================== */
/* ШАПКА */
/* ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: transform 0.4s ease, background 0.3s;
}

body.dark-mode .header {
    background: rgba(10, 10, 10, 0.8);
}

.header.hide {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 0px;
    display: flex;
    flex-direction: column;
}

.header-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.header-row-bottom {
    width: 100%;
}

.logo {
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
	font-family: 'MyCustomFont', sans-serif;
	-webkit-text-stroke: 0.8px;
}

.logo span {
    font-size: 20px;
    font-weight: 400;
    color: #adadad;
    display: block;
}

.header-btn {
    flex-shrink: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-btn.hide-btn {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-book:hover {
    transform: scale(0.98);
}

/* Горизонтальный скролл меню */
.nav-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
	
}

.nav-wrapper::-webkit-scrollbar {
    height: 2px;
}

.nav-wrapper::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.nav-wrapper::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 10px;
}

.nav {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    min-width: min-content;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.nav a:hover {
    opacity: 0.6;
}

/* ======================================== */
/* HERO СЕКЦИЯ НА ВСЮ ШИРИНУ */
/* ======================================== */
.hero {
    display: flex;
    align-items: center;
    position: relative;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero {
    background-image: url('https://learn.ggsspb.ru/wp-content/uploads/2026/03/Без-имени-556-восстановлено.jpg');
	height: 735px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.hero-content h1,
.hero-content p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 .accent {
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
	font-family: 'MyCustomFont2', sans-serif;
    font-size: 20px;
    text-decoration: none;
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    color: #fff;
}

.hero-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.hero-buttons .btn-outline:hover {
    background: #fff;
    color: #000;
}

.hero-image {
    display: none;
}

/* ======================================== */
/* УСЛУГИ - с фоновыми изображениями */
/* ======================================== */
.services {
    padding: 100px 0;
}

.section-center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 28px;
    text-align: center;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    color: #fff;
	justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    border-radius: 24px;
    z-index: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 16px;
}

.service-price {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    width: fit-content;
    margin: 0 auto;
}

/* Фоны для карточек услуг */
.service-card:nth-child(1) {
    background-image: url('https://learn.ggsspb.ru/wp-content/uploads/2026/03/Screenshot_62.jpg');
}
.service-card:nth-child(2) {
    background-image: url('https://learn.ggsspb.ru/wp-content/uploads/2026/03/Screenshot_65-1.jpg');
}
.service-card:nth-child(3) {
    background-image: url('https://learn.ggsspb.ru/wp-content/uploads/2026/03/ламинирование.jpg');
}

/* ======================================== */
/* О МАСТЕРЕ */
/* ======================================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 32px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
	font-size: 18px;
}

.about-stats {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
	font-family: 'MyCustomFont', sans-serif;
	-webkit-text-stroke: 1.2px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ======================================== */
/* ПОРТФОЛИО */
/* ======================================== */
.portfolio {
    padding: 0px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: white;
    font-size: 17px;
    font-weight: 500;
}

/* ======================================== */
/* ПРЕИМУЩЕСТВА */
/* ======================================== */
.benefits {
    padding: 100px 0;
    background: var(--accent);
    color: var(--bg);
}

.benefits h2 {
    color: var(--bg);
}

.benefits h2:after {
    background: var(--bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
	padding: 0px 30px;
}

.benefit-icon {
    font-size: 36px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.benefit-item h3 {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--bg);
}

.benefit-item p {
    font-size: 16px;
    opacity: 0.7;
    color: var(--bg);
}

/* ======================================== */
/* ОТЗЫВЫ */
/* ======================================== */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--card);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: normal;
}

.review-author {
    font-weight: 600;
    font-size: 20px;
}

/* ======================================== */
/* КОНТАКТЫ */
/* ======================================== */
.contacts {
    padding: 100px 0;
    background: var(--bg-alt);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
	padding: 0px 40px;
}

.contact-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
	-webkit-text-stroke: 0.9px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-light);
}

.contact-item .btn {
    margin-top: 16px;
}

/* ======================================== */
/* ПОДВАЛ */
/* ======================================== */
.footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 32px;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
	padding: 15px;
    border: solid 1px #bfbfbf;
	border-radius: 25px;
}

.social-links a:hover {
    color: var(--text) !important;
}

.footer p {
    font-size: 12px;
    color: var(--text-light);
}

/* ======================================== */
/* АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ */
/* ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-grid {
        padding: 0 40px;
    }
    
    .header-inner {
        padding: 16px 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ======================================== */
/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ - заголовки не двигаются, только плашки */
/* ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-grid {
        padding: 0 24px;
    }
    
    .header-inner {
        padding: 0px;
    }
    
    .header-row-top {
        margin-bottom: 0px;
    }
    
    .logo {
        font-size: 26px;
		padding: 15px;
    }
    
    .btn-book {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .nav {
        gap: 8px;
    }
    
    .nav a {
        font-size: 18px;
		padding: 5px 15px;
		border: solid 1px #515151;
		border-radius: 25px;
		margin-bottom: 10px;
    }
    
    /* Фон для мобильной версии */
    .hero {
        background-image: url('https://learn.ggsspb.ru/wp-content/uploads/2025/09/Без-имени-2-восстановлено.jpg');
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    /* УСЛУГИ - заголовок остается, карточки скроллятся */
    .services {
        padding: 60px 0;
    }
    
    .services .section-center {
        text-align: left;
        padding: 0;
    }
    
    .services h2 {
        margin-bottom: 32px;
        padding: 0 24px;
    }
    
    .services-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px 20px 24px;
        margin: 0;
        white-space: nowrap;
    }
    
    .services-grid::-webkit-scrollbar {
        height: 2px;
    }
    
    .services-grid::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 10px;
    }
    
    .services-grid::-webkit-scrollbar-thumb {
        background: var(--text-light);
        border-radius: 10px;
    }
    
    .service-card {
        flex: 0 0 320px;
        white-space: normal;
        min-height: 380px;
        padding: 32px 20px;
    }
    
    /* ПОРТФОЛИО - заголовок остается, карточки скроллятся */
    .portfolio {
        padding: 60px 0;
    }
    
    .portfolio .section-center {
        text-align: left;
        padding: 0;
    }
    
    .portfolio h2 {
        margin-bottom: 32px;
        padding: 0 24px;
    }
    
    .portfolio-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px 20px 24px;
        margin: 0;
    }
    
    .portfolio-grid::-webkit-scrollbar {
        height: 2px;
    }
    
    .portfolio-grid::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 10px;
    }
    
    .portfolio-grid::-webkit-scrollbar-thumb {
        background: var(--text-light);
        border-radius: 10px;
    }
    
    .portfolio-item {
        flex: 0 0 200px;
        aspect-ratio: 1;
    }
    
    /* ОТЗЫВЫ - заголовок остается, карточки скроллятся */
    .reviews {
        padding: 60px 0;
    }
    
    .reviews .section-center {
        text-align: left;
        padding: 0;
    }
    
    .reviews h2 {
        margin-bottom: 32px;
        padding: 0 24px;
    }
    
    .reviews-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px 20px 24px;
        margin: 0;
    }
    
    .reviews-grid::-webkit-scrollbar {
        height: 2px;
    }
    
    .reviews-grid::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 10px;
    }
    
    .reviews-grid::-webkit-scrollbar-thumb {
        background: var(--text-light);
        border-radius: 10px;
    }
    
    .review-card {
        flex: 0 0 280px;
        white-space: normal;
        padding: 28px 24px;
    }
    
    /* ПРЕИМУЩЕСТВА - заголовок остается, карточки скроллятся */
    .benefits {
        padding: 60px 0;
    }
    
    .benefits .section-center {
        text-align: left;
        padding: 0;
    }
    
    .benefits h2 {
        margin-bottom: 32px;
        padding: 0 24px;
    }
    
    .benefits-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px 20px 24px;
        margin: 0;
    }
    
    .benefits-grid::-webkit-scrollbar {
        height: 2px;
    }
    
    .benefits-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }
    
    .benefits-grid::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.5);
        border-radius: 10px;
    }
    
    .benefit-item {
        flex: 0 0 200px;
        white-space: normal;
        padding: 20px;
    }
    
    /* КОНТАКТЫ - заголовок остается, карточки скроллятся */
    .contacts {
        padding: 60px 0;
    }
    
    .contacts .section-center {
        text-align: left;
        padding: 0;
    }
    
    .contacts h2 {
        margin-bottom: 32px;
        padding: 0 24px;
    }
    
    .contacts-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 24px 20px 24px;
        margin: 0;
    }
    
    .contacts-grid::-webkit-scrollbar {
        height: 2px;
    }
    
    .contacts-grid::-webkit-scrollbar-track {
        background: var(--border);
        border-radius: 10px;
    }
    
    .contacts-grid::-webkit-scrollbar-thumb {
        background: var(--text-light);
        border-radius: 10px;
    }
    
    .contact-item {
        flex: 0 0 220px;
        white-space: normal;
        padding: 20px;
        background: #ffffffe3;
        border-radius: 24px;
        border: 1px solid var(--border);
    }
    
    /* О мастере - вертикальный */
    .about {
        padding: 60px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
       
    }
    
    .about-content h2:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .control-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ======================================== */
/* ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ */
/* ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-grid {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .hero-content {
        padding: 30px 16px;
		margin-top: 300px;
    }
    
    .service-card {
        flex: 0 0 320px;
        min-height: 360px;
        padding: 18px 16px;
    }
    
    .portfolio-item {
        flex: 0 0 260px;
    }
    
    .review-card {
        flex: 0 0 260px;
        padding: 24px 20px;
    }
    
    .benefit-item {
        flex: 0 0 280px;
    }
    
    .contact-item {
        flex: 0 0 200px;
    }
}

/* ======================================== */
/* ДЛЯ ПЛАНШЕТОВ В ЛАНДШАФТНОЙ ОРИЕНТАЦИИ */
/* ======================================== */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: solid 1px #d1d1d1;
    padding: 10px;
    border-radius: 25px;
    background: #f7f7f7;
}
.pro {
	padding-bottom: 100px;
}
@media (max-width: 575px) {
    .site-main {
       padding-inline-end: 0px !important;
       padding-inline-start: 0px !important;
    }
}
.benefit-item {
    border: solid 1px #ffffff;
    border-radius: 25px;
    padding: 20px;
	background: #000000b8;
}
@media (max-width: 768px) {
    .benefits {
        background-image: url(https://learn.ggsspb.ru/wp-content/uploads/2026/03/vjefsd-dth.jpg);
        align-items: center;
        position: relative;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        margin: 0;
		height: 400px;
    }
}
@media (min-width: 768px) {
.benefits {
        background-image: url(https://learn.ggsspb.ru/wp-content/uploads/2026/03/IMG_3888.jpg);
        align-items: center;
        position: relative;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        margin: 0;
	    height: 600px;
    }
}
@media (max-width: 768px) {
    .contacts {
        background-image: url(https://learn.ggsspb.ru/wp-content/uploads/2026/03/2222222222222.jpg);
        align-items: center;
        position: relative;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        margin: 0;
		height: 400px;
    }
}
@media (min-width: 768px) {
.contacts {
        background-image: url(https://learn.ggsspb.ru/wp-content/uploads/2026/03/FChq7PrjlcygCqMF3JnqXi3ndT496XQ1s__OnhThFSNd66FBodX6UT3yK1HrMxrabAmY8t0dYnnxiNxdTj7E5Ene.jpg);
        align-items: center;
        position: relative;
        background-size: cover;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
        margin: 0;
	    height: 600px;
    }
}
.zag {
	color: #fff;
}
@media (min-width: 768px) {
    .contact-item
 {
        flex: 0 0 220px;
        white-space: normal;
        padding: 20px;
        background: var(--card);
        border-radius: 24px;
        border: 1px solid var(--border);
    }
}
@font-face {
    font-family: 'MyCustomFont';
    src: url('/wp-content/uploads/2026/03/LinotypeSyntaxCom-Regular-1.ttf') format('truetype');

}

body {
    font-family: 'MyCustomFont', sans-serif;
}
@font-face {
    font-family: 'MyCustomFont2';
    src: url('/wp-content/uploads/2026/03/XO_Oriel_CN_Nu.ttf') format('truetype');

}

body {
    font-family: 'MyCustomFont2', sans-serif;
}
.texta {
	font-size: 20px;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Принудительное использование жирности для заголовков */
h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: subpixel-antialiased;
    font-weight: 600; /* или нужное значение */
}

/* Для ссылок и кнопок */
a, .btn, button {
    -webkit-font-smoothing: antialiased;
}
@media (max-width: 768px) {
    body {
        -webkit-text-stroke: 0.2px; /* легкая обводка делает текст жирнее */
    }
    
    h1, h2, h3 {
        font-weight: 600; /* принудительно */
        -webkit-text-stroke: 1.2px !important;
		letter-spacing: -0.4px;
    }
    
}
a:active, a:hover {
    color: #fff !important;
}
@media (max-width: 768px) {
.left111 {
	margin-left: 15px;
}
.left222 {
	margin-right: 15px;
}}
.cookie-notice-container {
	font-family: 'MyCustomFont2', sans-serif;
	font-size: 13px;
}
#cookie-notice, #cookie-notice .cn-button:not(.cn-button-custom) {
    font-family: 'MyCustomFont2', sans-serif !important;
}
@media (max-width: 768px) {
.cn-text-container {
	    border: solid 1px #e57777;
        border-radius: 25px;
}}
.ggs {
	display: flex;
    justify-content: center;
	gap: 10px;
}
.ggs-img {
	width: 80px;
}
.ggs-text {
	font-size: 15px !important;
}