:root {
    --primary: #1c5b96;
    --accent: #e31e24;
    --dark: #222;
    --light: #F2F2F2;
    --text-muted:rgba(0, 0, 0, 0.6);
    --gradient: #404040;
    --gradient2: #404040;
    /*--gradient: linear-gradient(135deg, rgba(227, 30, 36, 0.2) 0%, rgba(28, 91, 150, 0.2) 80%);*/
    /*--gradient2: linear-gradient(135deg, rgba(227, 30, 36, 1) 0%, rgba(28, 91, 150, 1) 80%);*/
}

.hero {
    position: relative;
    height: 80svh;
    overflow: hidden;
    background: #000;
}

.hero__poster,
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LCP */
.hero__poster {
    z-index: 1;
}

.hero__video {
    z-index: 2;
    opacity: 0;
    transition: opacity .6s ease;
}

.hero.is-playing .hero__video {
    opacity: 1;
}

.hero__content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 96px 16px 24px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(
            to bottom,
            rgba(0,0,0,.35),
            rgba(0,0,0,.6)
    );
}

.hero__content h1 {
    margin: 0;
    font-size: clamp(28px, 6vw, 42px);
    max-width: 12em;
}

.container {
    width: min(100% - 40px, 1480px);
    margin-inline: auto;
}

@media(min-width: 768px) {
    .container {
        padding: 0 40px;
    }

}

/* Breadcrumbs */

.breadcrumbs {
    font-size: 13px;
    max-width: 1480px;
    padding: 20px;
    margin: auto;


    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: black;
}

.breadcrumbs span {
    color: #999;
}

.breadcrumbs-razdelitel {
    margin: 0 5px;
}



@media(min-width: 768px) {
    .breadcrumbs {
        font-size: 15px;
        padding: 20px 40px;

    }
}

/* HEATING SERVICES LAYOUT */

.heating-page-wrapper {
    background: #fff;
}

.heating-intro-section {
    padding: 60px 0 110px;
}

.heating-intro-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
}

.heating-img-cover {
    width: 100%;
    height: 100%;
    max-height: 370px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.heating-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heating-text-inner {
    width: 100%;
    max-width: 580px;
}

.heating-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 400;
    color: var(--dark, #222);
    margin-bottom: 24px;
    line-height: 1.1;
}

.heating-text-body {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
}

@media (min-width: 992px) {
    .heating-intro-grid {
        display: grid;
        grid-template-columns: 45% 50%;
        gap: 5%;
        align-items: stretch;
    }
}

.heating-details-section {
    padding: 0 0 80px;
    background: #fff;
}

.heating-matrix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.heating-card {
    background: #fdfdfd;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.heating-card:hover {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #272525;
}

.heating-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: #272525;
    background: rgba(44, 39, 39, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heating-icon svg {
    width: 24px;
    height: 24px;
}

.heating-content {
    flex-grow: 1;
}

.heating-content strong {
    display: block;
    font-size: 18px;
    color: var(--dark, #222);
    margin-bottom: 8px;
    font-weight: 700;
}

.heating-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

@media (min-width: 768px) {
    .heating-matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .heating-matrix-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* --- CTA BANNER --- */
.cta-banner {
    padding: 60px 20px;
    background: var(--light);
}

.cta-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

@media(min-width:768px){
    .cta-wrapper {
        padding: 0 40px;
    }
}

.cta-split {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cta-text{
    display:flex;
    flex-direction:column;
    text-align:left;
}

.cta-contact {
    margin-top: auto;
    padding-top: 40px;
}

.cta-text h2 {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 15px;
    color: var(--dark);
}

.cta-text p {
    line-height: 1.6;
    color: var(--text);
    max-width: 520px;
}

.cta-container {
    background: #E5E5E5;
    border-radius: 10px;
    padding: 40px 20px;
    color: #404040;
    overflow: hidden;
}

.cta-form { width: 100%; }

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.field label {
    font-weight: 700;
    font-size: 14px;
    opacity: 0.95;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #404040;
    background: var(--light);
    color: #404040;
    outline: none;
    transition: all .3s;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #837e7e;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--light);
    background: rgba(255, 255, 255, 0.16);
}

.cta-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.cta-btns {
    display: flex;
    gap: 15px;
    justify-content: left;
    margin-top: 18px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s;
}

.btn:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .cta-banner { padding: 80px 0; }

    .cta-text{
        min-height:100%;
    }

    .cta-split {
        flex-direction: row;
        align-items: stretch;
        gap: 40px;
    }

    .cta-text,
    .cta-container {
        width: 50%;
    }

    .cta-container {
        padding: 60px 40px;
    }

    .cta-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .cta-btns {
        justify-content: flex-start;
    }
}

.cta-features {
    margin-top: 25px;
    display: grid;
    gap: 20px;
}

.cta-feature {
    display: flex;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
}

.cta-feature span {
    color: #404040;
}

.cta-trust {
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.form__note{
    margin:6px 0 0;
    font-size:12.5px;
    color:#6b7280;
}

.field input,
.field textarea,
.field input:focus,
.field textarea:focus,
.field input:-webkit-autofill,
.field textarea:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field textarea:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill:focus,
.field input:autofill,
.field textarea:autofill {
    background: var(--light);
    color: var(--dark);
    border: 1px solid #404040;
    box-shadow: 0 0 0 1000px var(--light) inset;
    outline: none;
}

.service-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    color: #404040;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #404040;
    background: transparent;
    font-size: 16px;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;

    transition:
            transform 420ms cubic-bezier(.2,.8,.2,1),
            box-shadow 420ms cubic-bezier(.2,.8,.2,1),
            border-color 420ms cubic-bezier(.2,.8,.2,1);
}

.service-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 520ms cubic-bezier(.2,.8,.2,1);

    z-index: -1;
}

.service-link:hover::before {
    transform: scaleX(1);
}

.service-link:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transform: translateY(-1px);
    color: #fff;
}

.service-link:focus-visible {
    outline: none;
    box-shadow:
            0 0 0 3px rgba(227,30,36,.35),
            0 12px 30px rgba(0,0,0,.35);
}


/* --- BLOG SECTION --- */
.blog-section {
    padding: 80px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-category {
    color: var(--gradient2);
}

.blog-date {
    color: var(--text-muted);
}

.blog-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.blog-card h3 a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-more {
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
}
.blog-more:hover {
    color: var(--accent);
}


.blog-footer {
    text-align: center;
}


.blog-card__arrow {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.blog-more:hover .blog-card__arrow {
    transform: translateX(6px) rotate(-45deg);
    color: var(--accent);
}

.blog-gradient {
    background: var(--light) ;
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card.featured {
        grid-column: span 2;
        flex-direction: row;
        align-items: stretch;
    }

    .blog-card.featured .blog-image {
        width: 50%;
        height: 400px;
    }

    .blog-card.featured .blog-content {
        width: 50%;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .blog-card.featured h3 {
        font-size: 32px;
    }
}

@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- OFFERS SECTION --- */
.offers-section {
    padding: 80px 0;
    background-color: var(--light);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.offer-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-body {
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-body h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.offer-body p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-offer {
    text-decoration: none;
    color: #404040;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 0;
    align-self: flex-start;
    transition: all 0.3s ease;
}


.btn-offer:hover .blog-card__arrow {
    transform: translateX(6px) rotate(-45deg);
    color: var(--accent);
}

.btn-offer:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CONTACT & MAP SECTION --- */
.contact-map-section {
    padding: 80px 0;
    background: #fff;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contact-info-block {
    flex: 1;
}

.contact-info-block .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.contact-icon-box svg {
    width: 35px;
    height: 35px;
}


.contact-text span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text p {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    margin: 0;
}

.map-container {
    border-radius: 10px;
    width: 100%;
    height: 400px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

@media (min-width: 992px) {
    .contact-map-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .contact-info-block {
        width: 55%;
    }

    .map-container {
        width: 45%;
        height: 500px;
    }
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark);
    margin-bottom: 15px;
}
.section-head {
    text-align: center;
    margin-bottom: 50px;
}