/* YardFox Custom Styles */

:root {
    --primary: #FE5000;
    --primary-hover: #FC3809;
    --primary-dark: #E04600;
    --dark: #181818;
    --dark-bg: #212121;
    --gray: #616161;
    --light-gray: #f5f5f5;
    --text: #333333;
    --text-muted: rgba(0,0,0,0.7);
    --white: #ffffff;
    --sans-serif: "Stem", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans-serif);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans-serif);
    font-weight: 700;
    line-height: 1.2;
}

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header__logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.site-header__menu ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.site-header__menu a {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.site-header__menu a:hover {
    color: var(--primary);
}

.site-header__phone {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.site-header__phone a {
    color: inherit;
}

.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.site-header__burger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 120px 0 80px;
    background: linear-gradient(rgba(21,21,21,0.75), rgba(21,21,21,0.85)), url('../img/hero-bg.jpg') center/cover no-repeat;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero__list {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__list li {
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: var(--sans-serif);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

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

.btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn--white {
    background: #fff;
    color: var(--dark);
    border: 1px solid #fff;
}

.btn--white:hover {
    background: transparent;
    color: #fff;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 18px;
}

/* ============ SECTIONS GENERAL ============ */
.section {
    padding: 80px 0;
}

.section--dark {
    background: var(--light-gray);
}

.section--gray {
    background: #f0f0f0;
}

.section__title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.section__title span {
    color: var(--primary);
}

/* ============ ABOUT ============ */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.about__subtitle {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about__text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.about__image {
    border-radius: 12px;
    overflow: hidden;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

/* ============ SERVICES ============ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card__body {
    padding: 20px;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============ PRICES ============ */
.prices-table {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:hover {
    background: #fff5f0;
}

.price-row__name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.price-row__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ============ MODELS ============ */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.model-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.model-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.model-card__models {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ WARRANTY ============ */
.warranty {
    text-align: center;
    padding: 60px 20px;
    background: var(--dark-bg);
    color: #fff;
}

.warranty__title {
    font-size: 32px;
    margin-bottom: 20px;
}

.warranty__label {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.warranty__phone {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

/* ============ ADVANTAGES ============ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
}

.advantage-card__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.advantage-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.advantage-card__desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============ ACTIONS / PROMO ============ */
.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.actions__content {
    color: #fff;
}

.actions__title {
    font-size: 32px;
    margin-bottom: 20px;
}

.actions__text {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.actions__disclaimer {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 25px;
}

/* ============ GALLERY ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid__item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-grid__item:hover img {
    transform: scale(1.08);
}

/* ============ CERTIFICATES ============ */
.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.certificate-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    max-width: 350px;
}

.certificate-item img {
    width: 100%;
    height: auto;
}

/* ============ FORMS SECTION ============ */
.form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.form-wrapper {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.form-wrapper__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-wrapper__subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.form-wrapper__disclaimer {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
    line-height: 1.5;
}

/* Contact Form 7 custom styles */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--sans-serif);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f9f9f9;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(254,80,0,0.15);
    outline: none;
    background: #fff;
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 100px;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-family: var(--sans-serif);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
}

.wpcf7-submit:hover {
    background: var(--primary-hover);
}

.wpcf7-form .wpcf7-response-output {
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    margin: 10px 0 0;
}

/* ============ CONTACTS ============ */
.contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts__item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.contacts__item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.contacts__item-label {
    font-size: 13px;
    color: var(--text-muted);
}

.contacts__item-value {
    font-size: 18px;
    font-weight: 600;
}

.contacts__map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 300px;
}

.contacts__map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 40px 0 30px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.site-footer__phone a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.site-footer__email a {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

.site-footer__copyright {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ============ REVIEWS ============ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.review-card__author {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.review-card__date {
    font-size: 13px;
    color: var(--text-muted);
}

.review-card__rating {
    color: #FFB300;
    font-size: 18px;
    margin-bottom: 10px;
}

.review-card__text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1199px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 40px; }
}

@media (max-width: 767px) {
    .container { padding: 0 15px; }
    .section { padding: 50px 0; }
    .section__title { font-size: 28px; margin-bottom: 30px; }

    .site-header .container { flex-wrap: wrap; }
    .site-header__menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 80px 30px 30px;
        z-index: 999;
    }
    .site-header__menu.open {
        display: flex;
    }
    .site-header__menu ul {
        flex-direction: column;
        gap: 20px;
    }
    .site-header__menu a { font-size: 20px; }
    .site-header__burger { display: flex; }
    .site-header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .site-header__burger.active span:nth-child(2) { opacity: 0; }
    .site-header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .hero { min-height: 500px; padding: 100px 0 60px; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 18px; }

    .about, .actions, .form-section, .contacts {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .models-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }

    .site-footer .container { flex-direction: column; text-align: center; }

    .price-row { padding: 15px 20px; }
    .price-row__name { font-size: 14px; }
    .price-row__value { font-size: 16px; }

    .warranty__phone { font-size: 28px; }
    .warranty__title { font-size: 24px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 26px; }
    .hero__list li { font-size: 14px; padding: 6px 14px; }
}