/*
Theme Name: Abris Custom Landing
Version: 1.0
*/

@import url('https://googleapis.com');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #1a1a1a;
}

.container,
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === ШАПКА (HEADER) === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0 15px;
    transition: all 0.35s ease;
}

/* Сдвиг шапки под админ-панель WordPress */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    transition: margin 0.35s ease;
}

/* Логотип и дескриптор */
.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.35s ease;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: all 0.35s ease;
}

.logo-desc {
    font-size: 10px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.35s ease;
}

/* Правый блок кнопок */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-discount {
    background: #f02c56;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-discount:hover {
    background: #d61f46;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.soc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.soc-icon:hover {
    transform: translateY(-2px);
}

.soc-icon.max { background: #4c6ef5; }
.soc-icon.tg  { background: #2aabee; }
.soc-icon.wa  { background: #25d366; }

/* Меню второго ряда */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #f02c56;
}

/* === СОСТОЯНИЕ ШАПКИ ПРИ СКРОЛЛЕ === */
.site-header.scrolled {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .header-top {
    margin-bottom: 10px;
}

.site-header.scrolled .logo-link,
.site-header.scrolled .header-nav a {
    color: #1a1a1a;
}

.site-header.scrolled .logo-desc {
    border-left-color: rgba(26, 26, 26, 0.25);
}

.site-header.scrolled .logo-img {
    height: 36px;
    filter: invert(1);
}

.site-header.scrolled .header-nav a:hover {
    color: #f02c56;
}

/* === ПЕРВЫЙ ЭКРАН (HERO) === */
.hero {
    position: relative;
    min-height: 680px;
    padding: 185px 0 90px;
    background-color: #1c1f24;
    background-image: linear-gradient(90deg, rgba(15, 18, 22, 0.78) 0%, rgba(15, 18, 22, 0.35) 100%),
                      url('assets/img/hero-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    box-sizing: border-box;
}

.hero-title {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 45px;
    max-width: 820px;
}

.hero-title strong {
    font-weight: 700;
    display: block;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 960px;
    margin-bottom: 50px;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-text span {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    position: relative;
    padding-top: 8px;
}

.feature-text span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 1px;
    background: #ffffff;
}

.btn-hero {
    display: inline-block;
    background: #f02c56;
    color: #ffffff;
    padding: 18px 54px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-hero:hover {
    background: #d61f46;
}

/* === ПОДВАЛ (FOOTER) === */
.site-footer {
    background-color: #343741;
    color: #ffffff;
    padding: 45px 0 35px;
    font-size: 13px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-phone a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: #f02c56;
}

.footer-dev {
    text-align: right;
    font-size: 11px;
    line-height: 1.4;
}

.footer-dev span {
    display: block;
    color: rgba(255, 255, 255, 0.75);
}

.footer-dev a {
    color: #7c69ef;
    text-decoration: none;
    font-weight: 500;
}

.footer-dev a:hover {
    text-decoration: underline;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 35px 0 22px;
}

.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-policy {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-policy:hover {
    color: #ffffff;
}

.footer-copy {
    text-align: right;
    line-height: 1.5;
}
