:root {
    --background-scroll: #78ff00;
    --primary-color: #007bff;
    --secondary-color: #4f46e5;
    --text-color: #1e293b;
    --light-gray: #f8fafc;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.9);
    --accent-color: #1e3c72;
    --cta-bg-color: #c51162;
    --footer-bg-color: #1a237e;
    --modal-bg-color: rgba(0, 0, 0, 0.5);
    --header-height: 45px;
    --hero-min-height: 100vh;
    --faq-bg-color: #f9f9f9;
    --faq-border-color: #e0e0e0;
    --faq-active-bg-color: white;
    --faq-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --form-bg-color: var(--light-gray);
    --form-border-color: #cbd5e1;
    --form-focus-border-color: var(--primary-color);
    --form-placeholder-color: #94a3b8;
    --success-bg-color: #d1fae5;
    --success-text-color: #16a34a;
    --error-bg-color: #fee2e2;
    --error-text-color: #dc2626;
    --background-color: #e6edf8;
    --font-family-sans-serif: "Roboto", Helvetica, Arial, "Times New Roman", sans-serif;
    --background-header: white;
    --background-mobile-menu-toggle: black;
    --menu-color: white;
}
* {
    box-sizing: border-box;
}
html {
    font-size: 16px;
}
body {
    font-family: var(--font-family-sans-serif);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}
main#primary {
    margin-top: 60px;
}
/* Для мобильных */
@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
    .footer-bottom span {
        display: none;
    }
}
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0.5rem 0;
}
p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}
button {
    cursor: pointer;
}
/* header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
    color: white;
}
.main-nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}
.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    color: var(--menu-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color var(--transition);
    position: relative;
    text-wrap-mode: nowrap;
}
.nav-links a:hover {
    color: black;
    padding-bottom: 10px;
    border-bottom: 3px double;
    border-color: white;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    right: 1rem;
}
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--background-mobile-menu-toggle);
    margin: 5px 0;
    transition: var(--transition);
}
/* Мобильное меню */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height var(--transition);
        justify-content: flex-start;
        margin-top: 0.5rem;
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        max-height: calc(100vh - 90px);
        visibility: visible;
        opacity: 1;
    }
    .nav-links li {
        margin: 15px 0;
    }
}
.logo img {
    margin-top: 8px;
    background-color: white;
}
/* Десктопное подменю */
.nav-links>li {
    position: relative;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-color);
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid;
}
.nav-links>li:hover .sub-menu {
    display: block;
}
.sub-menu li {
    margin: 0;
    padding: 8px 15px;
    list-style: none;
}
.sub-menu a {
    color: white !important;
    white-space: nowrap;
}
/* Мобильное подменю */
@media (max-width: 900px) {
    .sub-menu {
        position: static;
        display: block !important;
        max-height: none !important;
        padding-left: 20px;
        background: rgba(255, 255, 255, 0.1);
        transition: none;
    }
    .menu-item-has-children>a::after {
        content: '';
        display: none;
    }
    .sub-menu li {
        margin: 8px 0;
        font-size: 0.9em;
    }
    .sub-menu a {
        padding: 8px 15px;
    }
    /* Увеличиваем общую высоту меню */
    .nav-links.active {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}
/* Подсветка активного пункта меню при скролле */
section {
    scroll-margin-top: 80px;
}
.section,
.brief-description,
.container,
section {
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 1rem;
}
section {
    margin-bottom: 1rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 1rem;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}
.specs-table td,
.specs-table th {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.specs-table th {
    background-color: var(--primary-color);
    color: white;
}
.cta-button {
    display: inline-block;
    background-color: var(--cta-bg-color);
    color: white;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-decoration: none;
}
.product-showcase img,
.product-construction img {
    width: 100%;
/*    max-width: 960px;*/
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background-color: white;
}
.icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.footer {
    background-color: var(--footer-bg-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}
ul.footer-contact li span {
    color: white;
}
.product-showcase,
.product-construction {
    margin: 40px 0;
    text-align: center;
}
h2 {
    text-align: center;
    color: var(--primary-color);
}
.product-construction img {
    max-width: 566px;
}
.construction,
.gallery-video {
    background: var(--light-gray);
}
.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-thumbnail {
    position: relative;
    padding-top: 1rem;
    overflow: hidden;
    text-align: center;
}
.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 123, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.video-item:hover .play-button {
    background: rgba(0, 86, 179, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}
.video-item h3,
.video-item .gradient {
    padding: 20px;
    font-size: 1.2rem;
    text-align: center;
    color: #333;
}
.video-item .gradient a {
    color: #333;
    font-weight: 600;
}
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg-color);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.video-modal.active {
    display: flex;
    opacity: 1;
}
.video-modal.active .modal-content {
    width: 80%;
    max-width: 900px;
    height: 80vh;
    max-height: 506px;
}
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.hero {
    position: relative;
/*    height: 90vh;*/
    min-height: var(--hero-min-height);
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    align-items: center;
    max-width: 100%;
    flex-direction: column;
    margin-top: var(--header-height);
    color: white;
    text-align: center;
}
@media (max-width: 768px) {
    .hero {
/*        height: 100vh;*/
    }
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    /*max-height: 95vh;*/
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border-radius: 1rem 1rem 1rem 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}
.hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0 0 1rem 0;
    text-align: center;
}
.hero-content .h2 {
    font-size: 1rem;
    font-weight: 700;
}
.hero-content p {
    font-size: 1rem;
    color: #000;
/*    padding: 0.5rem;*/
    margin: 0;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.scroll-down-indicator {
    position: absolute;
    /*left: 50%;*/
    right: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
    bottom: 8px;
}
.scroll-down-indicator.fixed {
    position: fixed;
    background: var(--primary-color);
    padding: 8px;
    border-radius: 28px;
    border: 2px;
    border-color: white;
    color: white;
    border-style: solid;
}
.scroll-down-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.last-section .scroll-down-indicator {
    display: none;
}
.chevron {
    width: 20px;
    height: 5px;
    background: white;
    margin: 3px 0;
    transform: rotate(45deg);
    opacity: 0.8;
}
.chevron:first-child {
    transform: rotate(-45deg) translateY(6px) translateX(-4px);
}
.chevron:nth-child(2) {
    transform: rotate(45deg);
}
.chevron:last-child {
    transform: rotate(-45deg) translateY(-6px) translateX(4px);
}
.scroll-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: opacity var(--transition);
    color: black;
    font-weight: bold;
}
.scroll-down-indicator:hover .scroll-text {
    opacity: 1;
}
.fa-chevron-down {
    font-size: 1.5rem;
    margin-left: 24px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}
@media (max-width: 768px) {
    .hero-content .h2 {
        padding: 0.5rem 1rem;
    }
    .hero-content p {
        padding: 0;
        margin: 0 1rem;
    }
    .hero {
        align-items: stretch;
    }
    .hero-content {
        padding: 0;
    }
    h1 {
        margin: 0;
        font-size: 1.5rem;
    }
    .video-background {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    }
    .video-modal.active .modal-content {
        width: 95%;
        height: 60vh;
    }
    .scroll-down-indicator {
        bottom: 15px;
    }
    .scroll-text {
        font-size: 0.75rem;
    }
}
.scroll-arrow {
    width: 42px;
    height: 42px;
    color: inherit;
    animation: bounce 2s infinite;
}
@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}
.scroll-down-indicator.pulse {
    animation: pulse 2s infinite;
}
footer {
    background: var(--footer-bg-color);
    color: white;
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    border-bottom: 1px solid;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}
.social-icons a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}
.footer-bottom a {
    color: white;
}
.final-cta {
    text-align: center;
    padding: 80px 20px;
    background: var(--primary-color);
    color: white;
    height: auto;
    max-width: 100%;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: #333;
    border: none;
    box-shadow: var(--shadow);
    /* Крестик */
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    margin: 0;
    appearance: none;
}
.close-modal:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
}
.close-modal:active {
    transform: scale(0.95);
}
.close-modal:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}
.close-modal {
    font-size: 0; /* Скрываем символ × */
}
.close-modal::before,
.close-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #333;
}
.close-modal::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.close-modal::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}
.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}
.specs-table th {
    font-weight: bold;
}
.specs-table ul {
    margin: 0;
    padding-left: 20px;
}
.specs-table li {
    margin-bottom: 5px;
}
@media (max-width: 767px) {
    .specs-table {
        display: block;
    }
    .specs-table thead,
    .specs-table th {
        display: none;
    }
    .specs-table tbody,
    .specs-table tr,
    .specs-table td {
        display: block;
        width: 100%;
    }
    .specs-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
    }
    .specs-table td {
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eee;
    }
    .specs-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 100%;
        margin-bottom: 5px;
        color: var(--text-color);
    }
    .specs-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    .specs-table td:before {
        position: absolute;
        left: 15px;
        width: calc(50% - 15px);
        text-align: left;
    }
    .final-cta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
    .footer-bottom a {
        white-space: nowrap;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .specs-table {
        font-size: 0.875rem;
    }
    .specs-table th,
    .specs-table td {
        padding: 10px 12px;
    }
}
@media (min-width: 1024px) {
    .specs-table {
        max-width: var(--max-width);
        margin: 20px auto;
    }
}
@media (max-width: 767px) {
    .specs-table td:first-child {
        background-color: var(--primary-color);
        color: white;
        font-weight: bold;
        border-bottom: 1px solid var(--secondary-color);
    }
    .specs-table td:last-child {
        background-color: var(--light-gray);
    }
    .specs-table td:first-child:before {
        color: white;
    }
}
@media (min-width: 768px) {
    .specs-table th {
        background-color: var(--primary-color);
        color: white;
    }
    .specs-table tr:nth-child(even) {
        background-color: var(--light-gray);
    }
}
/* Стили для секции "О компании" */
.about-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}
.stats-grid {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    flex-basis: min-content;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}
.address-block {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    max-width: 360px;
}
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0.8;
    flex-wrap: wrap;
}
.partners-logos img {
    height: 40px;
    width: auto;
}
.about-image {
    position: relative;
    flex-basis: 100%;
}
.about-image img {
    width: 100%;
    max-width: 587px;
    height: auto;
}
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: auto;
    }
    .brief-description p {
        margin-left: 1rem;
        margin-right: 1rem;
        text-align: justify;
    }
}
@media (pointer: coarse) {
    #scrollIndicator {
        display: none;
    }
}
/* Стили секции отзывов */
#reviews .container {
    max-width: var(--max-width);
    padding: 0 1rem;
    background: var(--light-gray);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}
.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-author h3 {
    margin: 0 0 5px;
}
.review-content {
    line-height: 1.6;
}
.review-content::before {
    content: "“";
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}
/* Уникальные стили для карусели отзывов */
#reviews-carousel {
    margin: 0 -15px;
}
.reviews-slide-item {
    padding: 15px;
}
.reviews-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
}
.reviews-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}
.reviews-carousel-prev,
.reviews-carousel-next {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 0 15px;
}
.reviews-carousel-dots {
    display: flex;
    margin: 0 20px;
    padding: 0;
    list-style: none;
}
.reviews-carousel-dots li {
    margin: 0 5px;
}
.reviews-carousel-dots button {
    background: #ddd;
    border: none;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    padding: 0;
    text-indent: -9999px;
}
.reviews-carousel-dots .slick-active button {
    background: var(--primary-color);
}
/* Модальное окно */
.cf7-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--modal-bg-color);
}
/* Контент модалки */
.cf7-modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalOpen 0.3s;
}
/* Анимация открытия */
@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-30px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}
/* Кнопка закрытия */
.cf7-modal-close {
    position: absolute;
    right: 0.8rem;
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: color var(--transition);
    z-index: 1;
}
.cf7-modal-close:hover {
    color: #000;
}
/* Контейнер форм */
.cf7-form-container>div {
    display: none;
}
.cf7-form-container>div.active {
    display: block;
}
/* Аккардеон лабораторные работы */
.accordion {
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
}
.accordion-item {
    margin: 5px 0;
    border-bottom: 1px solid #ddd;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    cursor: pointer;
    padding: 10px 15px;
    background: #f0f0f0;
    position: relative;
    font-size: 1.1em;
    font-weight: 500;
    margin: 0;
}
/* Скрываем стандартный маркер */
.accordion-header::-webkit-details-marker {
    display: none;
}
.submenu {
    padding: 10px 20px;
    background: white;
    border-top: 1px solid #eee;
}
.submenu ul,
.submenu ol {
    padding-left: 20px;
    margin: 10px 0;
}
.submenu li {
    margin: 5px 0;
    line-height: 1.4;
}
/**/
.raised {
    vertical-align: super;
    position: relative;
    top: 0.2em;
}
.cta {
    text-align: center;
}
.subtitle {
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
}
img.visual {
    margin: 0 auto;
    display: block;
    max-width: 100%;
}
#utp .utp-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 2px 2px rgb(0, 0, 0, 0.2);
}
#utp .utp-card .icon {
    flex-shrink: 0;
    font-size: 2.5em;
    width: 1em;
    text-align: center;
    margin-bottom: unset;
}
#utp .utp-card p {
    margin: 0;
    flex: 1;
}
#utp .utp-card>i:not(.icon) {
    width: 100%;
    padding-left: calc(3em + 15px);
    font-style: normal;
    opacity: 0.8;
    font-size: 0.9em;
}
/* FAQ */
.ds-faq-accordion {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    box-shadow: var(--faq-shadow);
    overflow: hidden;
}
.ds-faq-item {
    border-bottom: 1px solid var(--faq-border-color);
}
.ds-faq-item:last-child {
    border-bottom: none;
}
.ds-faq-header {
    padding: 18px 40px 18px 20px;
    background-color: var(--faq-bg-color);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    transition: background-color var(--transition);
    font-weight: bold;
    white-space: normal;
    word-break: break-word;
    list-style: none;
}
/* Стилизация треугольного маркера */
.ds-faq-header::-webkit-details-marker {
    display: none;
}
.ds-faq-header::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent currentColor;
    margin-right: 12px;
    margin-top: 4px;
    transition: transform 0.3s;
}
.ds-faq-item[open] .ds-faq-header::before {
    transform: rotate(90deg);
}
.ds-faq-header:hover {
    background-color: var(--light-gray);
}
.ds-faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
    background-color: var(--faq-active-bg-color);
}
.ds-faq-item[open] .ds-faq-content {
    padding: 20px;
    max-height: fit-content;
}
.ds-faq-answer {
    color: #34495e;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .ds-faq-header {
        padding: 15px 35px 15px 15px;
        font-size: 0.875rem;
    }
    .ds-faq-header::before {
        margin-right: 8px;
        border-width: 5px 0 5px 8px;
    }
    .ds-faq-content {
        padding: 0 15px;
    }
    .ds-faq-item[open] .ds-faq-content {
        padding: 15px;
    }
}
/**/
#lab .submenu ul {
    list-style-type: decimal;
}
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    border-bottom: 1px dotted #666;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
/* page */
/* Основной контент */
.content-area {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
    animation: fadeIn 0.5s ease-in;
}
/* Заголовок статьи */
.entry-header {
    margin-bottom: 3rem;
    text-align: center;
}
.entry-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    margin: 0 0 1rem;
    position: relative;
    display: inline-block;
}
.entry-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}
/* Контент статьи */
.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}
.entry-content p {
    margin: 1.5em 0;
}
.entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}
.entry-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: currentColor;
}
/* Пагинация */
.wp-link-pages {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    box-shadow: var(--shadow);
}
/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Адаптивность */
@media (max-width: 768px) {
    .content-area {
        padding: 0 1rem;
        margin: 1rem auto;
    }
}
@media (max-width: 480px) {
    .entry-title::after {
        width: 40%;
    }
}
/* Для форм CF7 */
/* Основной контейнер формы */
.cf7-form {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.cf7-form.active {
    transform: translateY(0);
    opacity: 1;
}
.cf7-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}
/* Стили для полей ввода */
.wpcf7-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    transition: var(--transition);
}
.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.wpcf7-form-control::placeholder {
    color: #94a3b8;
}
.wpcf7-acceptance {
    border: unset;
    background-color: unset;
}
.wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}
/* Стили для кнопки отправки */
.wpcf7-submit {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.wpcf7-submit:hover {
    background-color: var(--secondary-color);
}
.wpcf7-spinner {
    display: none;
    /* Скрываем спиннер по умолчанию */
}
/* Ответы формы */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}
.wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    color: #16a34a;
    border: 1px solid #16a34a;
}
.wpcf7-mail-sent-ng {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #dc2626;
}
/* Адаптация под мобильные устройства */
@media (max-width: 360px) {
    .cf7-form {
        padding: 1.5rem;
    }
    .wpcf7-form-control {
        padding: 0.6rem 0.8rem;
    }
}
#description .content {
    background-color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
}
#videos .container {
    padding: 1rem;
}
#videos {
    border-radius: 1rem;
}
h3.accordion-header,
.ds-faq-header {
    margin-block-start: 0;
    margin-block-end: 0;
    position: relative; /* Важно для позиционирования псевдоэлемента */
    padding-right: 40px; /* Создаем место для символа "+" */
    overflow: hidden; /* Защита от выхода текста за пределы */
}
.submenu.show ul,
.submenu.show ol {
    background-color: white;
    margin-top: 0.5rem;
    border-radius: 1rem;
}
.wpcf7-form p label span {
    margin-bottom: 0.5rem;
}
.wpcf7-form p {
    margin: 0;
    padding: 0;
}
.final-cta h2 {
    color: white;
}
.required-asterisk {
    color: red;
    margin-right: 4px;
    font-size: 1rem;
}
.kc_captcha .wpcf7-form-control {
    background-color: unset;
    border: unset;
}
.kc_captcha {
    margin-bottom: 0.5rem;
}
.hr-gradient {
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 150, 255),
            rgba(0, 0, 0, 0));
    margin: 2rem 0;
    animation: gradient-pulse 2s infinite;
}
h3.gradient::after,
.video-item .gradient::after {
    content: ' ';
    display: block;
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 150, 255),
            rgba(0, 0, 0, 0));
    margin: 2rem 0;
    animation: gradient-pulse 2s infinite;
}
.cta-specs {
    text-align: center;
}
@media (max-width: 900px) {
    .hero-content {
        border-radius: unset;
    }
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 1rem;
    justify-items: center;
}
.card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .features-grid {
        margin: 2rem 1rem;
    }
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 1rem;
}
.phone {
    text-align: left;
    flex: auto;
}
.phone a {
    color: white;
    white-space: nowrap;
    text-decoration: auto;
    font-size: 1.2rem;
    font-weight: bold;
}
.logo {
    margin-right: 1rem;
}
/* specs аккордеон */
/* Стили аккордеона только внутри блока specs */
#specs details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
}
#specs summary {
    cursor: pointer;
    padding: 10px;
    background: #f0f0f0;
}
/* Восстанавливаем стандартный индикатор через псевдоэлемент */
#specs summary::-webkit-details-marker {
    display: none;
}
#specs summary h2 {
    display: inline;
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    vertical-align: middle;
}
#specs .accordion-content {
    padding: 10px;
    border-top: 1px solid #ddd;
}
/**/
#construction .feature-item div {
    width: calc(360px - 1rem);
    height: calc(360px - 2rem);
    position: relative;
}
#construction .feature-item div img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
#construction h3,
#about h3 {
    display: inline;
}