@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

:root {
    --accent-color: #f4bc16;
    /* Responsive font sizes and paddings */
    --fs-small: clamp(0.85rem, 0.9vw + 0.4rem, 1rem);
    --fs-base: clamp(0.95rem, 1.1vw + 0.5rem, 0.95rem);
    --fs-lg: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
    --fs-xl: clamp(2rem, 3vw + 1rem, 2rem);
    --pad-small: clamp(6px, 1vw, 12px);
    --pad-base: clamp(10px, 1.5vw, 20px);
    --pad-lg: clamp(12px, 2vw, 28px);
    --container-max: 1200px;
    --accent-color: #f4bc16;
    --fs-xl: 1.25rem;
    --fs-base: 0.95rem;
    --container-max: 1200px;
}
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #3c3c3c;
    color: #fff;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: none; /* Скрыто по умолчанию, включается скриптом */
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    padding-right: 20px;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: none;
    color: #fff;
    outline: solid 1px var(--accent-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        padding-right: 0;
        margin-bottom: 15px;
    }
}
/* Контейнер всей политики */
.privacy-policy {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* Заголовки */
.privacy-policy h1 {
    font-size: 28px;
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-policy h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

/* Секции и списки */
.privacy-policy section {
    margin-bottom: 25px;
}

.privacy-policy ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-policy li {
    margin-bottom: 10px;
}

.privacy-policy li strong {
    color: #000;
}

/* Ссылки */
.privacy-policy a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Блок под формой (дисклеймер) */
.form-disclaimer {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
}

.form-disclaimer a {
    color: var(--accent-color);
    font-weight: bold;
}
a.polityka:before {
    content: "";
    display: block;
    background: var(--accent-color);
    border-radius: 2px;
    width: 56px;
    height: 2px;
    margin: 16px 0 12px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .privacy-policy {
        padding: 15px;
        margin: 20px 10px;
    }
    
    .privacy-policy h1 {
        font-size: 22px;
    }
    
    .privacy-policy h2 {
        font-size: 18px;
    }
}

/* Initial styles for resetting margins, paddings and setting box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-size: var(--fs-base);
}

/* General link styles */
a {
    color: #6f6f6f;
    line-height: 1.7;
    text-decoration: none;
    /* Default for all links */
}

/* Common button styles */
.btn {
    display: inline-block;
    font-weight: 700;
    transition: 0.1s ease-in-out;
    width: fit-content;
    margin: 0 auto;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    /* Ensure no underline for buttons */
}

.btn:hover {
    color: #000;
    background: none;
    outline: solid 1px var(--accent-color);
}

/* Primary button styles (merged .coop-btn and .btn.btn-primary) */
.coop-btn,
.btn.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.coop-btn {
    padding: 12px 28px;
    border-radius: 32px;
}

.btn.btn-primary {
    /* General primary button */
    padding: 14px 30px;
    border-radius: 28px;
}

/* Common style for circular icons */
.coop-icon,
.about-item .icon {
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    background: rgba(244, 188, 22, 0.04);
}

.coop-icon {
    width: 64px;
    height: 64px;
}

.about-item .icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    flex-shrink: 0;
}

/* Title and heading styles */
.section-title,
.about-title,
.contact-form-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    text-transform: uppercase;
}

/* Common ::after styles for titles */
.section-title::after,
.about-title::after,
.contact-form-title::after,
.site-footer h4::after {
    content: "";
    display: block;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    position: relative;
    /* Default positioning */
}

/* Specific ::after styles for titles */
.section-title::after,
.about-title::after {
    width: 64px;
    margin: 12px auto 0;
    /* Centered for section and about titles */
}

.contact-form-title::after {
    width: 64px;
    margin: 12px 0 20px 0;
    /* Left aligned for contact form title */
}

.site-footer h4 {
    font-size: 1rem;
    margin: 0 0 18px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
    color: #111;
}

.site-footer h4::after {
    width: 56px;
    height: 4px;
    /* Default height explicitly set */
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    /* Override any inherited margin */
}

.service-card h3 {
    margin: 18px 0 30px;
    font-weight: 600;
    font-size: var(--fs-xl);
    position: relative;
}

.service-card h3::after {
    content: "";
    position: absolute;
    left: 42%;
    top: 38px;
    height: 2px;
    /* Specific smaller height */
    width: 56px;
    background: var(--accent-color);
    border-radius: 2px;
    display: block;
}

/* Top info bar styles */
.top-bar {
    background: #f5f5f5;
    color: #7a7a7a;
    font-size: 0.95rem;
    line-height: 1;
}

.top-bar .container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    place-content: center;
}

.top-bar a {
    color: inherit;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.top-contacts {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    place-content: center;
}

.contact-item,
a.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.contact-item .muted {
    color: #b8b8b8;
    font-size: 0.9rem;
}

.contact-item img {
    width: 2.2em;
}

.social {
    display: flex;
    gap: 10px;
    color: #aaa;
}

.top-bar .social img,
.social img {
    width: 3em;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    filter: invert(1);
    opacity: 0.5;
}

.social img:hover {
    opacity: 1;
}

/* Main header styles */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.site-header .container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 44px;
    display: block;
}

.logo .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #111;
}

.nav {
    display: flex;
    column-gap: 28px;
    align-items: center;
}

.nav a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 4px;
}

.nav a.active {
    color: var(--accent-color);
    font-weight: 700;
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Hero Carousel styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    background-position-x: 100%;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 100px;
    left: clamp(5%, 5vw, 10%);
    width: clamp(300px, 80vw, 600px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
    padding: var(--pad-base);
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transition-delay: 0.3s;
}

.carousel-slide.active .carousel-overlay {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

.carousel-overlay h1 {
    margin-bottom: 20px;
    background-color: rgba(50, 50, 50, 0.2);
    padding: var(--pad-base);
    font-size: 2.5rem;
}

.carousel-overlay p {
    max-width: 800px;
    line-height: 1.5;
    background-color: rgba(150, 150, 150, 0.2);
    padding: var(--pad-base);
    font-size: 1.25rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: var(--pad-small) var(--pad-base);
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    user-select: none;
}

.carousel-arrow.left-arrow {
    left: 10px;
}

.carousel-arrow.right-arrow {
    right: 10px;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slide-title {
    background-color: rgb(8 8 8 / 60%);
    padding: var(--pad-small) var(--pad-base);
    display: inline-block;
    border-bottom: 1px solid var(--accent-color);
    width: 100%;
    font-size: var(--fs-lg);
}

.slide-text {
    background-color: rgb(66 66 66 / 60%);
    padding: var(--pad-small) var(--pad-base);
    display: inline-block;
    width: 100%;
    font-size: var(--fs-small);
}

/* Remove background from actual h1/p elements */
.slide-title h1,
.slide-text p {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Cooperation block styles */
.cooperation {
    padding: 26px 0;
}

.cooperation .cooperation-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.cooperation-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.coop-text h2 {
    font-size: var(--fs-xl);
    margin: 0 0 6px 0;
}

.coop-text p {
    margin: 0;
    color: #747474;
    font-size: var(--fs-base);
}

.cooperation-right {
    flex: 0 0 auto;
}

/* Services section styles */
.services {
    padding: 64px 0 80px;
    background: #f6f6f6;
}

.services .services-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
}

.section-sub {
    color: #757575;
    max-width: 820px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
    align-items: stretch;
}

.service-card p {
    flex: 1 1 auto;
    color: #7a7a7a;
    line-height: 1.6;
    margin: 0 28px;
    padding-bottom: 18px;
}

.service-img {
    height: 200px;
    background-color: #e9e9e9;
    background-size: cover;
    background-position: center;
}

.services-cta {
    text-align: center;
}

/* About section styles */
.about {
    padding: 30px 0 100px;
    background: #fff;
}

.about .about-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.about-sub {
    color: #757575;
    max-width: 1200px;
    margin: 12px auto 40px;
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: center;
}

.about-left {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background-image: url("../image/about.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.about-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.about-item h3 {
    margin: 0 0 6px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}

.about-item p {
    margin: 0;
    color: #7a7a7a;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Offer block styles */
.offer {
    padding: 56px 0 40px;
    background: #fafafa;
    min-height: 500px;
}

.offer .offer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    padding: 0 16px;
    overflow: hidden;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 46px;
    justify-content: center;
    justify-items: center;
    align-items: start;
    margin-bottom: 28px;
}

.offer-card {
    width: 220px;
    background: #fff;
    border-radius: 4px;
    padding: 28px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #555;
    position: relative;
}

.offer-card .offer-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.offer-card .offer-title {
    font-weight: 600;
    font-size: 1rem;
}

.offer-card.active {
    background: var(--accent-color);
    color: #fff;
}

.offer-card.active .offer-icon {
    color: #fff;
}

.offer-card.active::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: calc(50% - 12px);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--accent-color);
}

.offer-heading {
    font-size: 24px;
    font-weight: 800;
    margin: 8px 0 12px;
    text-transform: uppercase;
}

.offer-text {
    color: #6f6f6f;
    max-width: 820px;
    margin: 12px auto;
    line-height: 1.7;
}

/* Smooth transition for offer text */
.offer-heading,
.offer-text {
    transition: opacity 0.3s ease;
}

.offer-fade {
    opacity: 0;
}

.promo-band {
    height: 80px;
    background: var(--accent-color);
}

/* Ensure offer-icon sizing is correct */
.offer-icon {
    width: inherit !important;
    /* Revert explicit width to allow flexibility */
}

.offer-card.active img {
    filter: brightness(10);
}

.offer-icon img {
    padding-top: 33px;
}

/* Contact Form section styles */
.contact-form-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.contact-form-section .contact-form-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 16px;
}

.contact-form-left {
    flex: 1;
    text-align: left;
}

.contact-form-description {
    color: #757575;
    line-height: 1.7;
}

.contact-form-right {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: #555;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Specific style for country select opacity */
body>section.contact-form-section>div>div.contact-form-right>form>div:nth-child(2) {
    opacity: 0.6;
}

.contact-form input::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.contact-form select option {
    color: #555;
}

/* Contact form submit button */
.contact-form .btn.btn-primary {
    width: auto;
    display: block;
    margin: 30px auto;
    padding: 14px 40px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.contact-form .btn.btn-primary:hover {
    background-color: #e0ac00;
    outline: none;
}

.form-consent {
    display: flex;
    align-items: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #777;
    text-decoration: underline;
}

.form-consent input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

.is-hidden {
    display: none;
}

/* Footer styles */
.site-footer {
    background: #f7f7f7;
    color: #444;
    padding: 60px 0 0px;
    border-top: 1px solid #eee;
}

.site-footer .footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
    padding: 0 16px 30px;
}

.footer-about p,
.footer-contacts address,
.footer-services ul,
.footer-categories .cat-list {
    /* Removed global 'a' from this selector */
    color: #6f6f6f;
    line-height: 1.7;
}

.social-row {
    margin-top: 22px;
    display: inline-flex;
    border-radius: 4px;
    overflow: hidden;
}

.social-btn {
    background-color: var(--accent-color);
}

.social-row a.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 48px;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
}

.social-row a.social-btn+a.social-btn {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    padding-left: 22px;
    position: relative;
    margin-bottom: 12px;
}

.footer-services li::before {
    content: "\2713";
    /* check */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

.footer-categories .cat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-categories .cat {
    display: inline-block;
    border: 1px solid #dfdfdf;
    padding: 4px 14px;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.95rem;
    text-decoration: unset;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.footer-categories .cat:hover,
.footer-categories .cat:focus {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.footer-contacts address {
    font-style: normal;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding: 18px 16px;
    background: #fff;
    display: flex;
    justify-content: center;
}

.site-footer .footer-bottom img {
    height: 46px;
}

/* Back-to-top button styles */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0) rotate(90deg);
}

/* Services Detail section styles */
.services-content-wrapper {
    position: relative;
}

.services-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.services-content.active-content {
    opacity: 1;
    transition: opacity 1.3s ease-in-out;
    position: relative;
}

.services-text-content {
    flex: 1;
}

.content-image {
    flex: 0 0 45%;
    margin-top: 0;
    text-align: right;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.services-detail {
    padding: 60px 0;
    background: #fff;
}

.services-detail .services-detail-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.services-sidebar {
    background: #f8f8f8;
    border-radius: 4px;
    overflow: hidden;
    padding: 0px 0;
}

.sidebar-item {
    display: block;
    padding: 14px 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:hover {
    background-color: #f0f0f0;
}

.sidebar-item.active {
    background: var(--accent-color);
    color: #fff;
    font-weight: 700;
}

.services-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.services-content .section-title::after {
    margin-left: 0;
    margin-right: auto;
}

.services-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.services-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.6;
    font-size: var(--fs-base);
}

.services-content li::before {
    content: "✓";
    /* checkmark icon */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.5;
}

.service-card h3::after,
.section-title::after,
.about-title::after,
.site-footer h4::after,
.contact-form-title::after {
    height: 2px !important;
}

.site-footer h4::after {
    top: 33px !important;
}
.btn:hover {
    color: #000;
    background: none;
    outline: solid 1px var(--accent-color);
}
/* Media Queries - Ordered from largest to smallest breakpoint */
@media (max-width: 900px) {
    .services-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .content-image {
        flex: none;
        width: 80%;
        text-align: center;
        margin-top: 20px;
    }

    .services-content .section-title {
        text-align: center;
    }

    .services-content .section-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .cooperation .cooperation-inner {
        padding: 0 12px;
    }

    .coop-text h2 {
        font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-img {
        height: 180px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .btn-about {
        transform: translate(0px, 50px) !important;
    }

    .about-image {
        width: 320px;
        height: 320px;
    }

    .offer-cards {
        grid-template-columns: repeat(2, 220px);
        justify-content: center;
    }

    .site-footer .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-detail .services-detail-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-sidebar {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        background: #f8f8f8;
        border-radius: 4px;
        overflow: hidden;
        padding: 10px;
    }

    .sidebar-item {
        flex-basis: auto;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .sidebar-item:last-child {
        border-right: none;
    }

    section.hero-carousel {
        height: 460px;
        background-position: center;
    }

    .about-item .icon,
    .coop-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .contact-form-section .contact-form-inner {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form-left {
        text-align: center;
    }

    .contact-form-title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-right {
        padding: 30px 20px;
    }
}

@media (max-width: 700px) {
    .about .about-inner {
        padding: 0 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-left {
        justify-content: flex-start;
    }

    .about-image {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .about-right {
        margin-top: 18px;
    }

    .about-item .icon,
    .coop-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .top-bar .container {
        margin: 60px auto 0;
    }

    .top-contacts {
        gap: 0px;
        flex-wrap: wrap;
    }

    .logo {
        position: absolute;
        top: 8px;
        left: 34%;
        width: 31%;
    }

    .logo img {
        width: 100%;
    }

    .nav {
        flex-wrap: wrap;
        width: 100%;
        place-content: center;
        row-gap: 0px;
    }

    .social {
        gap: 0px;
    }

    .site-header .container {
        padding: 7px 16px;
    }

    .coop-btn {
        margin: 12px auto 0;
    }

    .services {
        padding: 64px 0 30px;
    }

    .offer-cards {
        grid-template-columns: repeat(3, 30%) !important;
        column-gap: 5%;
    }

    .offer-card .offer-title{
        font-size: 0.75rem;
    }

    .offer-card {
        padding: 11px 13px;
        width: 180px;
        /* Specific width for this breakpoint */
    }

    .offer-icon {
        width: 13em !important;
    }

    .offer {
        min-height: auto;
    }

    .promo-band {
        margin-top: 0px;
    }
}

@media (max-width: 600px) {
    .carousel-overlay {
        left: 10%;
        width: 80%;
        text-align: left;
        align-items: flex-start;
        padding: var(--pad-base);
    }

    .carousel-overlay h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .carousel-overlay p {
        font-size: var(--fs-base);
    }

    .cooperation .cooperation-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cooperation-right {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .coop-btn {
        width: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-img {
        height: 160px;
    }

    .btn.btn-primary {
        width: 80%;
        max-width: 320px;
    }

    .offer-cards {
        grid-template-columns: 1fr;
    }

    .offer-card {
        width: 100%;
        min-height: 9rem;
    }

    .promo-band {
        height: 80px;
    }

    .site-footer {
        padding: 36px 0 20px;
    }

    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .social-row {
        width: 100%;
    }

    .social-row a.social-btn {
        flex: 1 1 0;
        width: auto;
    }

    .services-sidebar {
        flex-direction: column;
    }

    .sidebar-item {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .sidebar-item:last-child {
        border-bottom: none;
    }

    .services-content .section-title {
        font-size: 24px;
    }

    .services-content li {
        font-size: 0.9rem;
    }

    .contact-form-section {
        padding: 40px 0;
    }

    .contact-form-right {
        padding: 20px 15px;
    }

    .contact-form .btn.btn-primary {
        width: 80%;
        max-width: 280px;
        padding: 12px 20px;
    }

    .form-consent {
        font-size: 0.75rem;
    }
    .carousel-arrow{
        padding: 1.75rem 0.75rem;
    }
}