@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Golos Text", sans-serif;
    margin: 0;
    background: #fff;
    color: #111;
    line-height: 1.5;
}

/* ================== ОБЩИЕ КОНТЕЙНЕРЫ ================== */

.inner-header .top-bar,
.inner-header .mid-bar,
.hero-slider__inner,
.promo-cards__inner,
.about-section__inner,
.advantages__inner,
.site-footer__inner,
.footer-payments,
.site-footer__bottom-inner,
.footer-disclaimer {
    max-width: 1464px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ================== HEADER ================== */

.inner-header {
    width: 100%;
    border-bottom: 1px solid #eee;
}

/* Верхняя панель */

.inner-header .top-bar {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.location {
    color: #333;
    white-space: nowrap;
}

.top-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.top-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.top-contacts {
    display: flex;
    gap: 12px;
    align-items: center;
    white-space: nowrap;
}

.phone {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.callback {
    color: #e6007a;
    font-weight: 500;
    text-decoration: none;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Средняя панель */

.inner-header .mid-bar {
    padding-top: 14px;
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 34px;
}

.logo span {
    font-size: 13px;
    color: #777;
}

.mid-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.mid-nav a {
    color: #000;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    background: #fafafa;
    border-radius: 8px;
    transition: 0.2s;
}

.mid-nav a:hover {
    background: #f0f0f0;
}

/* Поиск + email */

.icons-email-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icons {
    display: flex;
    gap: 14px;
}

.icon-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: url('../img/icons/search.svg') no-repeat center/contain;
    cursor: pointer;
}

.header-email {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.header-email a {
    color: #000;
    text-decoration: none;
}

.header-email a:hover {
    text-decoration: underline;
}

/* ================== HERO SLIDER ================== */

.hero-slider {
    padding: 24px 0 32px;
    background: #f5f5f7;
}

.hero-slider__inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #000;
}

.hero-slide {
    min-height: 360px;
    display: none;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    display: block;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0) 80%);
}

.hero-slide__content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-slide__content h2 {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-slide__content p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #f4f4f4;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    background: #3b76ff;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.hero-btn:hover {
    background: #255bda;
    transform: translateY(-1px);
}

/* Навигация слайдера */

.hero-slider__controls {
    position: absolute;
    right: 32px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slider__dots {
    display: flex;
    gap: 6px;
    margin-right: 10px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}

.hero-dot.is-active {
    width: 10px;
    height: 10px;
    background: #ffffff;
    transform: scale(1.1);
}

.hero-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: background 0.15s ease, transform 0.1s ease;
}

.hero-arrow:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* ================== PROMO CARDS ================== */

.promo-cards {
    padding: 8px 0 32px;
    background: #f5f5f7;
}

.promo-cards__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.promo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.promo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.1) 55%,
        rgba(0, 0, 0, 0) 85%
    );
}

.promo-card__content {
    position: absolute;
    inset: auto 20px 20px 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-card__label {
    font-size: 13px;
    opacity: 0.85;
}

.promo-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.promo-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.promo-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-1px);
}

/* ================== ABOUT SECTION ================== */

.about-section {
    padding: 8px 0 40px;
    background: #f5f5f7;
}

.about-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    padding: 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.about-card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.about-card__content h2 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

.about-card__content p {
    margin: 0;
}

.about-card__btn {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #3b76ff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.about-card__btn:hover {
    background: #255bda;
    box-shadow: 0 6px 14px rgba(59, 118, 255, 0.35);
    transform: translateY(-1px);
}

.about-card__image-wrap {
    border-radius: 20px;
    overflow: hidden;
    align-self: stretch;
}

.about-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================== ADVANTAGES ================== */

.advantages {
    padding: 8px 0 48px;
    background: #f5f5f7;
}

.advantages__inner {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.advantages__intro {
    margin: 0 0 24px;
}

.advantages__title {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

.advantages__list {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
}

.advantages__list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.advantages__list li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: #888;
}

.advantages__text {
    margin: 0 0 28px;
}

.advantages__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-top: 8px;
}

.adv-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.adv-feature__icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 118, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-feature__icon img {
    max-width: 26px;
    max-height: 26px;
    display: block;
}

.adv-feature__title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
    color: #1c1c1c;
}

.adv-feature__text {
    font-size: 14px;
    color: #555;
}

/* ================== FOOTER ================== */

.site-footer {
    border-top: 1px solid #ececec;
    background: #ffffff;
    font-size: 14px;
    color: #444;
    margin-top: 40px;
}

.site-footer__top {
    padding: 32px 0 24px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.footer-col__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.footer-col--contacts .footer-col__title {
    margin-bottom: 8px;
}

.footer-phone,
.footer-email {
    display: block;
    text-decoration: none;
    color: #111;
    margin-bottom: 4px;
}

.footer-phone {
    font-weight: 600;
}

.footer-email {
    font-size: 14px;
    color: #555;
}

.footer-address {
    margin-top: 4px;
    font-size: 13px;
    color: #777;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 4px;
}

.footer-menu a {
    text-decoration: none;
    color: #555;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #1a73e8;
}

/* Соцсети */

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social img {
    width: 28px;
    height: 28px;
    display: block;
}

/* Платежные системы */

.footer-payments {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
}

.footer-payments img {
    height: 20px;
    display: block;
}

/* Нижняя часть футера */

.site-footer__bottom {
    border-top: 1px solid #ececec;
    padding: 16px 0 28px;
    font-size: 13px;
}

.site-footer__bottom-inner {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copy {
    color: #777;
}

.footer-bottom-center {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-theme-toggle {
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    color: #555;
    cursor: pointer;
}

.footer-bottom-link {
    text-decoration: none;
    color: #555;
}

.footer-bottom-link:hover {
    color: #1a73e8;
}

.footer-developed {
    color: #777;
}

.footer-developed__brand {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 4px;
}

.footer-disclaimer {
    color: #9a9a9a;
    line-height: 1.6;
}

.footer-disclaimer + .footer-disclaimer {
    margin-top: 6px;
}

.footer-disclaimer__link {
    color: #1a73e8;
    text-decoration: none;
}

.footer-disclaimer__link:hover {
    text-decoration: underline;
}

/* ================== ADAPTIVE ================== */

/* Чуть сжимаем на 1440–1200 */
@media (max-width: 1440px) {
    .hero-slide__content {
        padding: 48px 56px;
    }
}

/* Планшеты горизонтально ~1200–993 */
@media (max-width: 1200px) {
    .hero-slide__content {
        padding: 40px 40px;
        max-width: 420px;
    }

    .hero-slide__content h2 {
        font-size: 32px;
    }

    .promo-cards__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-card {
        grid-template-columns: minmax(0, 1fr);
        padding: 24px;
    }

    .about-card__image-wrap {
        max-height: 320px;
    }

    .advantages__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}

/* Планшеты вертикально / маленькие ноуты ~992–769 */
@media (max-width: 992px) {
    .inner-header .top-bar {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
    }

    .top-contacts {
        order: 3;
    }

    .theme-toggle {
        order: 2;
    }

    .inner-header .mid-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .mid-nav {
        justify-content: flex-start;
        gap: 10px;
    }

    .icons-email-wrap {
        align-self: stretch;
        justify-content: space-between;
    }

    .header-email {
        font-size: 14px;
    }

    .hero-slider__inner,
    .promo-cards__inner,
    .about-card,
    .advantages__inner,
    .site-footer__inner,
    .footer-payments,
    .site-footer__bottom-inner,
    .footer-disclaimer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Мобилки ~768 и ниже */
@media (max-width: 768px) {
    .inner-header .top-bar,
    .inner-header .mid-bar {
        padding-left: 16px;
        padding-right: 16px;
    }

    .top-menu {
        gap: 10px;
        font-size: 13px;
        justify-content: flex-start;
    }

    .mid-nav a {
        font-size: 14px;
        padding: 5px 10px;
    }

    .hero-slider {
        padding: 16px 0 24px;
    }

    .hero-slider__inner {
        border-radius: 16px;
    }

    .hero-slide__content {
        padding: 32px 20px;
        max-width: 100%;
    }

    .hero-slide__overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
    }

    .hero-slider__controls {
        right: 16px;
        bottom: 16px;
    }

    .promo-cards {
        padding: 4px 0 24px;
    }

    .promo-cards__inner {
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
    }

    .promo-card {
        min-height: 220px;
        border-radius: 16px;
    }

    .promo-card__content {
        inset: auto 16px 16px 16px;
    }

    .promo-card__title {
        font-size: 18px;
    }

    .about-section {
        padding: 4px 0 32px;
    }

    .about-section__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-card {
        padding: 20px;
        border-radius: 20px;
    }

    .about-card__content h2 {
        font-size: 24px;
    }

    .advantages {
        padding: 4px 0 40px;
    }

    .advantages__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .advantages__features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer__top {
        padding-top: 24px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-col--contacts {
        grid-column: 1 / -1;
    }

    .footer-payments {
        justify-content: flex-start;
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-disclaimer {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 12px;
    }
}

/* Очень маленькие экраны ≤480 */
@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .mid-nav {
        gap: 6px;
    }

    .mid-nav a {
        font-size: 13px;
        padding: 4px 8px;
    }

    .header-email {
        font-size: 13px;
    }

    .hero-slide__content h2 {
        font-size: 24px;
    }

    .hero-slide__content p {
        font-size: 14px;
    }

    .promo-cards__inner,
    .site-footer__inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-payments,
    .site-footer__bottom-inner,
    .footer-disclaimer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-payments {
        gap: 10px;
    }
}