/*
Theme Name: ChistoBlesk
Description: Custom theme for cleaning company "ЧистоБлеск"
Author: Antigravity
Version: 1.0.0
*/

:root {
    --primary: #1CA1E0;
    --secondary: #FA7F00;
    --success: #25D366;
    --text-dark: #1E232C;
    --text-light: #7B828A;
    --bg-hero: #EFF6FC;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================
   КНОПКИ
================ */
.btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}
.btn-orange { background: var(--secondary); }
.btn-orange:hover { background: #e07000; transform: translateY(-1px); }
.btn-blue { background: var(--primary); }
.btn-blue:hover { background: #158bc4; transform: translateY(-1px); }
.btn-green { background: var(--success); }
.btn-green:hover { background: #1ebd5a; transform: translateY(-1px); }

/* ================
   HEADER
================ */
.site-header {
    border: 2px solid var(--primary); /* Синяя рамка вокруг всей шапки как в Figma */
}

.header-top {
    padding: 16px 0;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Логотип */
.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Яндекс рейтинг */
.rating {
    display: flex;
    flex-direction: column;
}
.rating-top {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 17px;
}
.yandex-icon {
    background: #FF0000;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.rating-stars { color: #FFB800; font-size: 16px; letter-spacing: 1px; }
.rating-text { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* Телефон и часы */
.contact-info {
    display: flex;
    align-items: center;
    gap: 0;
}
.contact-info .phone {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.3px;
    margin-right: 20px;
}
.contact-info .hours-wrap {
    border-left: 1px solid #D9D9D9;
    padding-left: 20px;
}
.contact-info .hours {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}
.contact-info .hours .no-days {
    color: var(--text-light);
    font-size: 12px;
}

/* Социалки */
.socials { display: flex; gap: 8px; align-items: center; }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icon img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: block;
}

/* Нижняя часть шапки — навигация */
.header-bottom {
    padding: 18px 0;
    border-top: 1px solid #E5EEF5;
}
.main-navigation ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
}
.main-navigation ul li a {
    transition: color 0.25s;
    color: var(--text-dark);
}
.main-navigation ul li a:hover { color: var(--primary); }
.arrow {
    font-size: 9px;
    color: var(--text-light);
    margin-left: 4px;
    vertical-align: middle;
}

/* ================
   HERO SECTION
================ */
.hero-section {
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

/* Синие штрихи — только правая часть */
.hero-bg-stroke {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 60%;
    height: 120%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 55px;
    padding-bottom: 0; /* Снизу 0, ведро само создаст отступ */
    gap: 0;
}

/* Левая часть — текст */
.hero-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 30px;
    padding-bottom: 55px;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.18;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
    font-weight: 500;
}
.hero-content h1 .highlight {
    color: var(--primary);
    font-weight: 800;
}

.subtitle-box {
    background: #fff;
    padding: 16px 22px;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 28px;
    display: block;
    border-radius: 0;
    line-height: 1.5;
}

.hero-features {
    margin-bottom: 32px;
}
.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.check-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.check-icon::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.cta-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Правая часть — ведро */
.hero-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
    position: relative;
    z-index: 2;
}
.hero-image img {
    display: block;
    width: 105%;
    max-width: 680px;
    height: auto;
    margin-right: -40px;
    margin-bottom: 0;
    /* Ключевой трюк! Белый фон PNG становится прозрачным */
    mix-blend-mode: multiply;
}

/* ================
   BENEFITS SECTION
================ */
.benefits-section {
    padding: 44px 0;
    border-top: 1px solid #E5EEF5;
    border-bottom: 1px solid #E5EEF5;
}
.benefits-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.benefit-card {
    display: flex;
    gap: 18px;
    flex: 1;
    align-items: flex-start;
}
.benefit-icon {
    flex-shrink: 0;
}
.benefit-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}
.benefit-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.benefit-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}
