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

@font-face {
    font-family: 'Pusia';
    src: url('../fonts/Pusia/Pusia Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Merriweather';
    src: url('../fonts/Merriweather/Merriweather-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'ДУРИК';
    src: url('../fonts/ДУРИК.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Mustica Pro';
    src: url('../fonts/Mustica Pro/MusticaproSemibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Garamond';
    src: url('../fonts/Garamond/Garamond - Garamond - Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Garamond';
    src: url('../fonts/Garamond/Garamond-Bold - Garamond - Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Garamond';
    src: url('../fonts/Garamond/Garamond-Italic - Garamond - Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Garamond';
    src: url('../fonts/Garamond/Garamond-BoldItalic-04.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('../fonts/Barlow Condensed Medium (CYR by damnxav)/BarlowCondensed-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: block; /* дождаться шрифта, чтобы не было «мигания» */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'TikTok Sans';
    src: url('../fonts/TikTok Sans/TikTokSans[opsz,slnt,wdth,wght].ttf') format('truetype-variations');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Stem-Regular';
    src: url('../fonts/Stem-ExtraLight.eot');
    src: url('../fonts/Stem-ExtraLight.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Stem-ExtraLight.woff2') format('woff2'),
         url('../fonts/Stem-ExtraLight.woff') format('woff'),
         url('../fonts/Stem-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Stem-Medium';
    src: url('../fonts/Stem-Light.eot');
    src: url('../fonts/Stem-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Stem-Light.woff2') format('woff2'),
         url('../fonts/Stem-Light.woff') format('woff'),
         url('../fonts/Stem-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: 'Stem-Bold';
    src: url('../fonts/Stem-SemiLight.eot');
    src: url('../fonts/Stem-SemiLight.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Stem-SemiLight.woff2') format('woff2'),
         url('../fonts/Stem-SemiLight.woff') format('woff'),
         url('../fonts/Stem-SemiLight.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #00252e;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f8f9fa;
    --card-background: #fff;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --font-family-regular: "Barlow Condensed", sans-serif;
    --font-family-medium: "Barlow Condensed", sans-serif;
    --font-family-bold: "Barlow Condensed", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
}

body {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border-radius: var(--border-radius);
    padding: 5px 30px;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--light-text);
}

.telegram-icon {
    color: var(--light-text);
    font-size: 24px;
    transition: color 0.3s ease;
}

.telegram-icon:hover {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0 30px;
    align-items: center;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    font-family: var(--font-family-bold);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 32px;
}

.nav-links a:hover {
    color: #00252e;
}

/* Активный пункт меню */
.nav-links a.active {
    color: #00252e !important;
    position: relative;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #00252e;
    border-radius: 2px;
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    text-align: right;
}

.phone-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.phone-icon {
    color: #00252e;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.phone-icon:hover {
    transform: scale(1.1);
}

.phone a {
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-family-bold);
    text-decoration: none;
    line-height: 1;
}

.work-time {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 3px;
    font-weight: 800;
    font-family: var(--font-family-bold);
}

.work-region {
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0.8;
    line-height: 1;
    font-weight: 800;
    font-family: var(--font-family-bold);
}

@media (max-width: 768px) {
    header {
        position: relative;
        padding: 0;
    }

    nav {
        position: relative;
        width: 100%;
        padding: 8px 15px;
        flex-direction: column;
        gap: 10px;
        background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        padding: 8px 0;
        width: 100%;
        display: block;
    }

    .phone {
        margin: 0;
        padding: 8px 0;
    }

    .work-region {
        font-size: 0.8rem;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    section {
        scroll-margin-top: 0;
        padding-top: 40px;
    }

    .hero {
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0;
    }
    
    nav {
        padding: 6px 10px;
        gap: 8px;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 6px 0;
    }
    
    .phone a {
        font-size: 0.9rem;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .work-region {
        font-size: 0.7rem;
    }
}

section {
    scroll-margin-top: 100px; /* Отступ для якорных ссылок */
    padding-top: 80px; /* Отступ сверху для всех секций */
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.40), rgba(44, 62, 80, 0.40)), url('../images/optimized/bg1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    animation: slideBackground 10s infinite;
    background-position: center calc(50% + var(--bgY, 0px));
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.40), rgba(44, 62, 80, 0.40)), url('../images/optimized/bg2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: translateX(100%);
    animation: slideBackground2 10s infinite;
    background-position: center calc(50% + var(--bgY, 0px));
}

@keyframes slideBackground {
    0%, 45% {
        opacity: 1;
        transform: translateX(0);
    }
    50%, 95% {
        opacity: 1;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideBackground2 {
    0%, 45% {
        opacity: 1;
        transform: translateX(100%);
    }
    50%, 95% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(44, 62, 80, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    align-items: stretch;
    justify-content: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: white;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #00252e;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #003a47;
}

@media (max-width: 960px) {
    .hero-content {
        padding: 30px 20px;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    
    .hero-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .price-card-left {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .service-card-horizontal i {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero h1 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-layout {
        gap: 20px;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 10px;
    }
    
    .hero-content {
        padding: 15px 10px;
    }
    
    .hero h1 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .hero p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .hero-layout {
        gap: 15px;
    }
    
    .cta-button {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* Адаптивные стили для hero секции */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-content > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .hero-content > div[style*="display: flex"] > div:first-child {
        flex: none !important;
        width: 100% !important;
        padding: 20px 15px !important;
    }
    
    .hero-content > div[style*="display: flex"] > div:last-child {
        flex: none !important;
        width: 100% !important;
        padding: 15px 10px !important;
    }
    
    .hero-content p[style*="font-size: 1.2em"] {
        font-size: 1rem !important;
        line-height: 1.4;
        margin-bottom: 15px !important;
    }
    
    .hero-content h3[style*="font-size: 1.5em"] {
        font-size: 1.2rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-content p[style*="font-size: 1.3em"] {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.2rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content > div[style*="display: flex"] {
        gap: 15px !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-content > div[style*="display: flex"] > div:first-child {
        padding: 15px 10px !important;
    }
    
    .hero-content > div[style*="display: flex"] > div:last-child {
        padding: 10px 8px !important;
    }
    
    .hero-content p[style*="font-size: 1.2em"] {
        font-size: 0.9rem !important;
        line-height: 1.3;
        margin-bottom: 12px !important;
    }
    
    .hero-content h3[style*="font-size: 1.5em"] {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-content p[style*="font-size: 1.3em"] {
        font-size: 1rem !important;
    }
}


.services {
    padding: 60px 0;
    background-color: #ffffff;
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.service-card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: #00252e;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 2.2rem;
    color: #003841;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #8FABC2 !important;
    font-size: 1.7rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: #EDEDED !important;
    font-size: 1.15rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.service-card p::-webkit-scrollbar {
    width: 5px;
}

.service-card p::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.service-card p::-webkit-scrollbar-thumb {
    background: #003841;
    border-radius: 5px;
}

@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services h2 {
        margin-bottom: 45px;
        font-size: 2rem;
    }
    
    .service-card {
        height: 300px;
    }
    
    .service-card h3 {
        font-size: 1.6rem;
    }
    
    .service-card p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 40px 0;
    }
    
    .services h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .service-card {
        padding: 20px;
        min-height: 300px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1.05rem;
    }
    
    .service-card i {
        font-size: 2rem;
        color: #003841;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 30px 0;
    }
    
    .services h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .service-card {
        padding: 15px;
        min-height: 250px;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .service-card i {
        font-size: 1.8rem;
        color: #003841;
    }
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(odd) {
    transform: translateX(-50px);
}

.service-card:nth-child(even) {
    transform: translateX(50px);
}

.service-card.animate:nth-child(odd), .service-card.animate:nth-child(even) {
    transform: translateX(0);
}

.services-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.price-card-left {
    flex: 0 0 350px;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--light-text);
    border: 1px solid #e8e8e8;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.price-card-left:hover {
    transform: translateY(-5px);
}

.price-card-left h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-card-left p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.price-card-left .price {
    font-size: 2rem;
    color: var(--light-text);
    font-weight: 900;
    font-family: var(--font-family-bold) !important; /* Barlow Condensed */
    margin-bottom: 20px;
    background: none !important;
}

.price-card-left .price-buttons {
    margin-top: auto;
}

.price-card-left .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00252e !important;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.price-card-left .button:hover {
    background-color: #003a47;
}

.services-cards-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 600px;
}

.service-card-horizontal {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 1;
    transform: translateY(0);
    height: calc((600px - 60px) / 4);
    min-height: 0;
}

.service-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card-horizontal i {
    font-size: 1.2rem;
    color: #003841;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .service-card-horizontal i {
        font-size: 1rem;
    }
}

.service-card-content {
    flex: 1;
}

.service-card-horizontal h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-card-horizontal p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.service-card-horizontal.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .services-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .price-card-left {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        height: auto !important;
        min-height: 120px;
    }
    
    .service-card-horizontal i {
        font-size: 1.6rem;
    }
    
    .service-card-horizontal h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .service-card-horizontal p {
        font-size: 0.9rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .services-cards-right {
        height: auto !important;
    }
}


.price {
    padding: 60px 0 30px; /* уменьшили нижний отступ */
    position: relative;
}

.price-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.price-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.price-slogan {
    text-align: center;
    color: #00252e !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0;
    font-size: 1.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.price h2 {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    font-size: 2.8rem;
    font-weight: 700;
}

/* Новая структура раздела стоимости услуг */
.service-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: stretch; /* растягиваем по высоте ряда */
}

.service-card-left {
    flex: 0 0 350px;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto; /* даем тянуться по align-items: stretch */
    align-self: stretch;
}

/* Ховер-эффект убран */

.service-card-left.highlight {
    border: 1px solid #00252e !important;
    position: relative;
    z-index: 1;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    background-image: none !important;
}

/* Ховер-эффект для выделенных карточек убран */

.service-card-left h3 {
    color: var(--light-text);
    font-size: 2.1rem; /* ↑ ещё больше */
    margin-bottom: 18px;
    font-weight: 800 !important;
}

.service-card-left p {
    color: var(--light-text);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.service-card-left .price {
    font-size: 2.2rem; /* немного крупнее чтобы читалось в левой карточке */
    color: var(--light-text);
    font-weight: 800;
    font-family: var(--font-family-bold) !important; /* Barlow Condensed */
    margin-top: auto;
    margin-bottom: 30px;
    padding-bottom: 0;
    background: none !important;
}

.service-card-left .price-buttons {
    margin-top: 0;
}

.service-card-left .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background-color: #003841;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-card-left .button i {
    font-size: 0.9rem;
}

.service-card-left .button:hover {
    background-color: #004d5a;
}

.service-card-left.highlight h3 {
    color: var(--secondary-color);
}

.service-description-right {
    flex: 1;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: auto; /* даем тянуться по align-items: stretch */
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.service-description-right h4 {
    color: #00252e !important;
    font-size: 1.8rem; /* ↑ ещё больше */
    margin-bottom: 22px;
    font-weight: 800 !important;
}

/* Жирный заголовок модального окна Роспатента */
#rosPatentOrderModal h3 {
    font-weight: 800 !important;
    font-size: 2.0rem;
}

/* Адаптив: увеличенные заголовки немного уменьшаем на мобильных */
@media (max-width: 960px) {
    .service-card-left h3 { font-size: 1.9rem; }
    .service-card-left p { font-size: 1.15rem; }
    .service-description-right h4 { font-size: 1.7rem; }
    .service-features li { font-size: 1.1rem; }
    .service-features li i { font-size: 1.15rem; }
}

@media (max-width: 768px) {
    .service-card-left h3 { font-size: 1.8rem; }
    .service-card-left p { font-size: 1.1rem; }
    .service-description-right h4 { font-size: 1.6rem; }
    .service-features li { font-size: 1.1rem; }
    .service-features li i { font-size: 1.15rem; }
    #rosPatentOrderModal h3 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .service-card-left h3 { font-size: 1.6rem; }
    .service-card-left p { font-size: 1rem; }
    .service-description-right h4 { font-size: 1.4rem; }
    .service-features li { font-size: 1rem; }
    .service-features li i { font-size: 1.1rem; }
    #rosPatentOrderModal h3 { font-size: 1.6rem; }
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: var(--light-text);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    opacity: 0.9;
}

.service-features li i {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2rem;
}

.service-features.not-included li i {
    color: #e74c3c;
}

.telegram-section {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.telegram-section p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.telegram-section i {
    color: #ffffff;
    font-size: 2rem;
}

.telegram-section a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.telegram-section a:hover {
    transform: scale(1.1);
}

/* Старые стили для обратной совместимости */
.price-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: nowrap;
}

.price-card {
    flex: 1;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 350px;
    min-width: 300px;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
}

.price-card.highlight {
    border: 1px solid #00252e !important;
    position: relative;
    z-index: 1;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    background-image: none !important;
}

.price-card.highlight:hover {
    transform: translateY(-5px);
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    background-image: none !important;
}

.price-card.featured {
    transform: scale(1.02);
    border: 2px solid #00252e !important;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    background-image: none !important;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
}

.price-card h3 {
    color: var(--light-text);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.price-card p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.price-card .price {
    font-size: 2rem;
    color: var(--light-text);
    font-weight: 700;
    font-family: var(--font-family-bold) !important; /* Barlow Condensed */
    margin-top: auto;
    margin-bottom: 20px;
    background: none !important;
}

.price-card .price-buttons {
    margin-top: 0;
}

.price-card.featured .price {
    background: none !important;
    color: var(--light-text);
    font-weight: 700;
    margin-bottom: 20px;
}

.price-card .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00252e !important;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    transition: background-color 0.3s ease;
}

.price-card .button:hover {
    background-color: #003a47;
}

.price-card .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.5rem;
    margin-right: 10px;
}

.price-card .new-price {
    color: #00252e !important;
    font-size: 2rem;
    font-family: var(--font-family-bold);
    font-weight: 900;
}

.price-card .discount-badge {
    background-color: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.postpayment-text {
    color: #00252e !important;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-family-bold);
    margin-top: 0;
    margin-bottom: 120px;
    text-align: center;
    display: inline-block;
}

.service-card-left:first-child .postpayment-text {
    margin-bottom: 85px;
}

.service-card-left:nth-child(2) .postpayment-text {
    margin-bottom: 40px;
}

.service-layout:nth-child(2) .service-description-right {
    min-height: 400px;
}

.service-layout:first-child .postpayment-text {
    margin-bottom: 120px;
}

@media (max-width: 1200px) {
    .service-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-card-left {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-description-right {
        width: 100%;
    }
    
    .price-cards {
        flex-wrap: wrap;
    }
    
    .price-card {
        flex: 1 1 calc(50% - 20px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .service-layout {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .service-card-left {
        padding: 25px;
    }
    
    .service-description-right {
        padding: 25px;
    }
    
    .service-description-right h4 {
        font-size: 1.2rem;
    }
    
    .service-features li {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .price-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .price-card {
        width: 100%;
        max-width: 100%;
    }
}

.price-card.highlight h3 {
    color: var(--secondary-color);
}

.contact {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contact-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-text p {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1.6;
}

.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color) !important; /* темная рамка как у кнопок */
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
    margin-bottom: 15px;
    background: #fff;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 2px rgba(0, 37, 46, 0.15);
}

.contact-form input:invalid {
    border-color: #ff6b6b;
}

.contact-form .button {
    width: 100%;
    padding: 12px;
    background-color: #003841;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.contact-form .button:hover:not(:disabled) {
    background-color: #004d5a;
}

@media (max-width: 960px) {
    .contact-text h3 {
        font-size: 1.8rem;
    }
    
    .contact-text p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-text h3 {
        font-size: 1.3rem;
    }
    
    .contact-text p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        max-width: 100%;
    }
    
    .contact-form input {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .contact-form .button {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 30px 0;
    }
    
    .contact h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .contact-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-text p {
        font-size: 0.85rem;
    }
    
    .contact-form input {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .contact-form .button {
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}

footer {
    position: relative;
    background: linear-gradient(rgba(0, 37, 46, 1), rgba(0, 37, 46, 1)); /* затемнили фон */
    color: var(--light-text);
    padding: 40px 0 20px;
    margin-top: 60px;
    overflow: hidden;
}

/* Полупрозрачный логотип на фоне футера */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/logofooter.png') center/contain no-repeat;
    opacity: 0.1; /* возвращено как было */
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 1; /* поверх полупрозрачного лого */
}

.footer-info {
    flex: 1;
    padding-right: 40px;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2rem; /* ещё крупнее заголовок контактов */
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: #003841;
    font-size: 1.2em;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem; /* ещё крупнее ссылки контактов */
    transition: color 0.3s ease;
}

/* Иконки рядом с контактами — увеличим пропорционально */
.contact-item i {
    font-size: 1.5rem;
    width: 24px;
}

/* Иконка Max в левой колонке контактов */
.footer-info img.icon-max {
    width: 24px !important;
    height: 24px !important;
    vertical-align: middle;
    margin-right: 10px !important;
}

.contact-item a:hover {
    color: #003841;
}





.social-link {
    display: flex;
    align-items: center;
    background: #003841;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.85em;
}

.social-link i {
    font-size: 1.1em;
    margin-right: 6px;
}

.social-link span {
    font-weight: 500;
}

.social-link:hover {
    background: #004d5a;
    color: white;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--light-text);
    font-size: 32px; /* крупнее и единый размер */
    transition: color 0.3s ease;
    display: inline-flex; /* выравниваем содержимое по центру по вертикали */
    align-items: center;
    line-height: 1;
    text-decoration: none; /* убираем подчеркивания/артефакты */
}

/* Единый размер для растровых иконок внутри соц. блока */
.footer-social img {
    width: 32px !important;
    height: 32px !important;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(1px); /* легкий сдвиг вниз без смещения baseline у соседей */
}

/* Скругление и ч/б для иконки Max */
img.icon-max {
    border-radius: 50%;
    filter: grayscale(100%);
}

.footer-social a:hover {
    color: var(--secondary-color);
    text-decoration: none; /* на hover тоже без подчеркивания */
}

/* Не даем FA-иконкам наследовать подчеркивание */
.footer-social a i {
    display: block;
    line-height: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 200px;
}





.footer-requisites {
    text-align: right;
    margin: 0;
    padding: 0;
}



.requisites-item {
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1; /* поверх полупрозрачного лого */
}

.footer-bottom .privacy-notice {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
}

.footer-bottom .privacy-notice a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom .privacy-notice a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-info {
        order: 1;
    }

    .footer-right {
        order: 2;
        margin-left: 0;
        align-items: center;
    }

    .footer-requisites {
        order: 3;
        text-align: center;
        margin-top: 20px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 15px;
        gap: 15px;
    }

    .footer-info h3 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    .contact-item {
        margin-bottom: 12px;
    }

    .contact-item a {
        font-size: 1em;
    }

    .footer-requisites p {
        font-size: 0.85em;
        margin-bottom: 8px;
    }

    .footer-social a {
        font-size: 20px;
    }
}

.advantages {
    padding: 60px 0;
    background-color: #e8e8e8;
}

.advantages h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 90px;
    font-size: 2.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-card {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
    color: #00252e;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.5;
    opacity: 0.9;
}

@media (max-width: 960px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages h2 {
        margin-bottom: 45px;
        font-size: 2rem;
    }
    
    .advantage-card {
        height: auto;
        min-height: 280px;
    }
}

.advantage-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card:nth-child(odd) {
    transform: translateX(-50px);
}

.advantage-card:nth-child(even) {
    transform: translateX(50px);
}

.advantage-card.animate:nth-child(odd), .advantage-card.animate:nth-child(even) {
    transform: translateX(0);
}


.why-us {
    padding: 0 0 80px 0; /* внутренний отступ снизу, чтобы белый фон тянулся ниже карточек */
    margin-bottom: 0;    /* внешний отступ убираем, чтобы не было серой прослойки */
    background-color: #ffffff;
}
.why-us h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5rem;
}
.why-us-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-us .price-slogan {
    margin-top: 2rem !important;
    margin-bottom: 4rem !important;
    padding: 0;
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #333333;
}
.why-us-text {
    text-align: center;
    margin-bottom: 60px;
}
.why-us-text p {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 500;
    line-height: 1.6;
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.why-us-grid::after {
    content: '';
    display: block;
    grid-column: 1 / -1;
    height: 1px; /* якорь в сетке для гарантированного расчёта высоты */
}
.why-us-card {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    padding: 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e8e8e8;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
}
.why-us-card i {
    font-size: 3rem;
    color: #D2691E !important;
    margin-bottom: 20px;
}
.why-us-card h3 {
    color: #00252e;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.why-us-card p {
    color: var(--light-text);
    font-size: 1.3rem;
    line-height: 1.6;
}
@media (max-width: 960px) {
    .why-us h2 {
        margin-bottom: 20px;
        font-size: 2rem;
    }
    
    .why-us-text p {
        font-size: 1.2rem;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-card {
        padding: 20px;
    }
}

.why-us-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.why-us-card:nth-child(odd) {
    transform: translateX(-50px);
}

.why-us-card:nth-child(even) {
    transform: translateX(50px);
}

.why-us-card.animate:nth-child(odd), .why-us-card.animate:nth-child(even) {
    transform: translateX(0);
}

.about-us {
    padding: 40px 20px 80px; /* уменьшили верхний отступ */
    background-color: #f8f9fa;
    color: var(--text-color);
    text-align: center;
    position: relative;
}

.about-us-content {
    max-width: 1300px; /* чуть шире */
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: var(--font-family-bold);
    color: #00252e;
}

.about-us-layout {
    display: flex;
    flex-direction: column; /* текст сверху на всю ширину, карточки ниже */
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
}

.about-us-text {
    flex: 1;
    max-width: 1200px; /* ширина как у контейнеров других разделов */
    margin: 0 auto; /* центрируем текстовый блок */
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; /* центрируем текст */
}

/* Темная карточка для текста "О нас" */
.about-us-card {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    color: #ffffff !important;
    width: 100%; /* на всю ширину контейнера */
}

.about-us-card p,
.about-us-card a,
.about-us-card li,
.about-us-card span {
    color: #ffffff !important;
    font-size: 1.6rem !important;
    line-height: 1.8;
}

/* Крупнее акцент внутри карточки */
.about-us-card .about-us-highlight {
    font-size: 1.6rem !important;
}

@media (max-width: 768px) {
    .about-us-card p,
    .about-us-card a,
    .about-us-card li,
    .about-us-card span,
    .about-us-card .about-us-highlight { font-size: 1.3rem !important; }
}

/* Повышенная специфичность, чтобы перебить .about-us-text p ниже по каскаду */
.about-us-text .about-us-card,
.about-us-text .about-us-card p,
.about-us-text .about-us-card a,
.about-us-text .about-us-card li,
.about-us-text .about-us-card span,
.about-us-text .about-us-card .about-us-highlight {
    font-size: 1.6rem !important;
}
@media (max-width: 768px) {
    .about-us-text .about-us-card,
    .about-us-text .about-us-card p,
    .about-us-text .about-us-card a,
    .about-us-text .about-us-card li,
    .about-us-text .about-us-card span,
    .about-us-text .about-us-card .about-us-highlight { font-size: 1.3rem !important; }
}

.about-us-card .about-us-highlight {
    background: rgba(255,255,255,0.08) !important;
    border-left-color: #ffffff !important;
    color: #ffffff !important;
}

.about-us-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-family-regular);
    color: var(--text-color);
}

.about-us-highlight {
    font-size: 1.4rem !important;
    font-weight: bold !important;
    color: #00252e !important;
    font-family: var(--font-family-bold) !important;
    margin: 30px 0 !important;
    padding: 20px;
    background: rgba(0, 37, 46, 0.08);
    border-radius: 10px;
    border-left: 4px solid #00252e;
}

.about-us-specialists {
    flex: 1;
    max-width: 1200px; /* чуть шире */
    margin: 0 auto; /* центрируем блок специалистов */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us-specialists h3 {
    font-size: 2.5rem; /* как заголовок секции */
    font-weight: bold;
    margin-bottom: 30px;
    font-family: var(--font-family-bold);
    color: #00252e;
    text-align: center;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px; /* увеличили расстояние между карточками */
    max-width: 1200px;
    margin: 0 auto;
}



@media (max-width: 768px) {
    .specialists-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.specialist-card {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border-radius: 15px;
    padding: 45px; /* ещё больше внутренние отступы */
    border: 1px solid rgba(44, 62, 80, 0.1);
    position: relative;
    box-shadow: var(--shadow);
    min-height: 360px; /* увеличили минимальную высоту */
}



/* Ховер-эффекты убраны */

.specialist-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #00252e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: var(--font-family-bold);
}

/* Убираем цифры в карточках специалистов в блоке "Наша команда" */
.about-us .specialist-number {
    display: none !important;
}

.specialist-photo {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 10px;
}

.specialist-photo img {
    width: 170px;
    height: 220px;
    border-radius: 8px;
    object-fit: cover;
    object-position: top center; /* не обрезать верх фото */
    border: none; /* убираем тёмную рамку вокруг фото */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.specialist-card h4 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 18px;
    font-family: var(--font-family-bold);
    color: #ffffff;
    margin-top: 10px;
}

.specialist-name {
    font-size: 1.6rem; /* крупное имя */
    font-weight: 800;
    color: #8FABC2 !important;
    margin-top: 4px;
    margin-bottom: 6px;
}

.specialist-title {
    font-size: 1.1rem; /* должность меньше */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.specialist-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specialist-card ul li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: var(--font-family-regular);
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.specialist-card ul li:before {
    content: "•";
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .about-us {
        padding: 60px 20px;
    }
    
    .about-us h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .about-us-layout {
        flex-direction: column;
        gap: 40px;
        margin-top: 30px;
        align-items: stretch;
    }
    
    .about-us-text {
        max-width: 100%;
        justify-content: flex-start;
    }
    
    .about-us-text p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .about-us-highlight {
        font-size: 1.2rem !important;
        padding: 15px;
        margin: 25px 0 !important;
    }
    
    .about-us-specialists {
        max-width: 100%;
    }
    
    .about-us-specialists h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .specialist-card {
        padding: 20px;
    }
    
    .specialist-card h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .specialist-card ul li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .specialist-photo img {
        width: 100px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .about-us {
        padding: 40px 15px;
    }
    
    .about-us h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .about-us-layout {
        gap: 30px;
        margin-top: 25px;
    }
    
    .about-us-text p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .about-us-highlight {
        font-size: 1.1rem !important;
        padding: 12px;
        margin: 20px 0 !important;
    }
    
    .about-us-specialists h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .specialist-card {
        padding: 15px;
    }
    
    .specialist-card h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .specialist-card ul li {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .specialist-photo img {
        width: 80px;
        height: 100px;
    }
    
    .specialist-number {
        width: 25px;
        height: 25px;
        font-size: 1rem;
        top: -12px;
        left: 15px;
    }
}

.trusted-by {
    padding: 60px 0;
    background-color: rgba(44, 62, 80, 0.95);
}

.trusted-by h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 60px;
    font-size: 2.5rem;
}

.trusted-by-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
}

.trusted-by-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
    animation: scrollLogos 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 30px));
    }
}

.trusted-by-logo {
    flex-shrink: 0;
    max-width: 300px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-by-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trusted-by-logo img[src*="logo-full.png"] {
    filter: brightness(0) invert(1) !important;
}

.trusted-by-logo img[src*="logotehcom.png"] {
    filter: none !important;
}

.trusted-by-logo img[src*="logo4.png"] {
    filter: none !important;
}

.trusted-by-logo img[src*="logo5.png"] {
    filter: brightness(0) invert(1) !important;
}

.trusted-by-logo img[src*="logo6.png"] {
    filter: none !important;
}

.trusted-by-logo:nth-child(5) {
    max-width: 300px;
    height: 100px;
}

.trusted-by-logo:nth-child(5) img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trusted-by-row:nth-child(2) .trusted-by-logo {
    max-width: 250px;
    height: 80px;
}

.trusted-by-row:nth-child(2) .trusted-by-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trusted-by-row:nth-child(2) .trusted-by-logo:last-child {
    max-width: 400px;
    height: 150px;
}

.trusted-by-row:nth-child(2) .trusted-by-logo:last-child img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .trusted-by-content {
        flex-direction: column;
        gap: 40px;
    }

    .trusted-by h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .trusted-by-logo {
        max-width: 180px;
        height: 60px;
    }
}

.button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.privacy-notice {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #333;
}

.trusted-by-logo img[src*="logo7.png"] {
    filter: none !important;
}

.trusted-by-logo:first-child {
    max-width: 400px;
    height: 150px;
}

.trusted-by-logo:first-child img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.trusted-by-logo:last-child {
    max-width: 400px;
    height: 150px;
}

.trusted-by-logo:last-child img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.price-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.price-buttons .button {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    background-color: #00252e !important;
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Pusia', sans-serif;
}

.price-buttons .button:hover {
    background-color: #003a47;
}

@media (max-width: 768px) {
    .price-buttons {
        flex-direction: column;
    }
    
    .price-buttons .button {
        width: 100%;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--card-background);
    margin: 5% auto;
    padding: 30px;
    border-radius: 25px;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-color);
}

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

.price-list li {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #000000;
}

.price-list i {
    color: #00252e !important;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .price-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% 10px;
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .modal-content p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .price-list li {
        font-size: 0.95rem;
        margin: 8px 0;
    }

    .modal-buttons {
        margin-top: 20px;
    }

    .modal-buttons .button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .modal-content {
        margin: 5% 10px;
        padding: 15px;
    }

    .modal-content h3 {
        font-size: 1.3rem;
    }

    .price-list li {
        font-size: 0.9rem;
    }
}

.modal-buttons {
    margin-top: 30px;
    text-align: center;
}

.modal-buttons .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00252e !important;
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Pusia', sans-serif;
    text-decoration: none;
}

.modal-buttons .button:hover {
    background-color: #003a47;
}

.modal-content h3 {
    color: #00252e !important;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.modal-content p {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.callback-modal {
    max-width: 400px !important;
}

.callback-modal h3 {
    text-align: center;
    margin-bottom: 30px;
}

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

.callback-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color) !important; /* темная рамка как у кнопок */
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.2s ease;
    background: #fff;
}

.callback-form input:focus {
    outline: none;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 2px rgba(0, 37, 46, 0.15);
}

.callback-form .button {
    width: 100%;
    padding: 12px;
    background-color: #00252e !important;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.callback-form .button:hover {
    background-color: #003a47;
}

.thanks-modal {
    max-width: 400px !important;
    text-align: center;
}

.thanks-modal h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-modal p {
    margin-bottom: 30px;
    color: #666;
}

.thanks-modal .button {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    background-color: #00252e !important;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.thanks-modal .button:hover {
    background-color: #003a47;
}

.thanks-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.thanks-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: var(--font-family-bold);
}

.thanks-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-family: var(--font-family-regular);
}

.thanks-content .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00252e !important;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Pusia', sans-serif;
    transition: background-color 0.3s ease;
}

.thanks-content .button:hover {
    background-color: #003a47;
}

.faq {
    padding: 80px 20px;
    background-color: var(--background-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #00252e !important;
    font-size: 2.5rem;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: #0d5a00;
}

.faq-question h3 {
    color: #00252e !important;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.faq-answer p {
    color: #00252e !important;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 15px 20px;
}

@media (max-width: 768px) {
    .faq {
        padding: 40px 15px;
    }

    .faq h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faq-question h3 {
        font-size: 1.3rem;
    }

    .faq-answer p {
        font-size: 1rem;
    }
}

.personal-cabinet {
    background-color: #D2691E;
    color: #EDEDED !important;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    height: 32px;
    line-height: 1;
}

.personal-cabinet:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
    color: #EDEDED !important;
}

/* Стили для выпадающего меню */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.services-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 15px;
    padding: 8px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
}

.services-dropdown.active .services-dropdown-content {
    display: block;
}

.services-dropdown-content a {
    color: #00252e; /* тёмный шрифт в дропдауне */
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    min-height: 44px;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-family: var(--font-family-medium);
    margin: 0 8px;
    border-radius: 8px;
}

.services-dropdown-content a:hover {
    background-color: #e8e8e8;
    color: #00252e;
}

/* Перебиваем глобальное белое в навигации для ссылок в дропдауне */
body.home .services-dropdown .services-dropdown-content a,
body.ros-patent .services-dropdown .services-dropdown-content a,
body.it-accreditation .services-dropdown .services-dropdown-content a {
    color: #00252e !important;
}

@media (max-width: 768px) {
    .services-dropdown-content {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        max-height: 80vh;
        overflow-y: auto;
        margin: 0;
    }
    
    .services-dropdown-content a {
        padding: 15px 20px;
        font-size: 16px;
    }
}

.benefits {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    font-size: 2.5em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 1;
    transform: none;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5em;
    color: #003841;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 700;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-weight: bold !important;
    font-size: 1.1rem;
}

.benefit-card ul li:before {
    content: "•";
    color: #003841;
    position: absolute;
    left: 0;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.benefit-card .legal-basis {
    font-size: 0.85em;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-style: italic;
}

.benefit-card ul {
    margin-bottom: 15px;
}

.benefit-card ul li {
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: bold !important;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .benefits {
        padding: 40px 20px;
    }
    
    .benefits h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 20px;
    }
}

/* Специальные стили для страницы аккредитации */
.it-accreditation .hero::before {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg5.webp');
}

.it-accreditation .hero::after {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg6.webp');
}

/* Стили для страницы Роспатента */
.ros-patent .hero {
    min-height: 80vh;
    padding: 80px 20px;
}

.ros-patent .hero-content {
    padding: 30px;
}

.ros-patent .hero-layout {
    margin: 30px auto;
}

.ros-patent .hero::before {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg3.webp');
}

.ros-patent .hero::after {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg6.webp');
}

/* Стили для страницы коммерческого предложения */
.commercial-offer .hero::before {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg7.webp');
}

.commercial-offer .hero::after {
    background-image: linear-gradient(rgba(44, 62, 80, 0.50), rgba(44, 62, 80, 0.50)), url('../images/optimized/bg1.webp');
}

.requirements {
    padding: 80px 20px;
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%);
    margin-top: 40px;
}

.requirements h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 700;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.requirements-grid .requirement-card:nth-last-child(-n+2) {
    grid-column: span 1;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .requirements-grid .requirement-card:nth-last-child(-n+2) {
        max-width: 100%;
    }
}

.requirement-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.requirement-card i {
    font-size: 2.5em;
    color: #003841;
    margin-bottom: 20px;
}

.requirement-card h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #ffffff;
}

.requirement-card ul li:before {
    content: "•";
    color: #003841;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-card {
        padding: 20px;
    }
}

.requirement-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.requirement-card:nth-child(odd) {
    transform: translateX(-50px);
}

.requirement-card:nth-child(even) {
    transform: translateX(50px);
}

.requirement-card.animate:nth-child(odd), .requirement-card.animate:nth-child(even) {
    transform: translateX(0);
}

.services-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.services-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.services-dropdown.active > a::after {
    transform: rotate(180deg);
} 

/* Специальная светлая тема ТОЛЬКО для главной страницы */
body.home {
    --primary-color: #22313f;
    --background-color: #f7fafc;
}

/* Светлый оверлей на фон hero для страниц: главная, Роспатент, ИТ-аккредитация */
body.home .hero::before,
body.home .hero::after,
body.ros-patent .hero::before,
body.ros-patent .hero::after,
body.it-accreditation .hero::before,
body.it-accreditation .hero::after {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), var(--_hero-bg) !important; /* значительно светлее */
}

body.home .hero::before { --_hero-bg: url('../images/optimized/bg1.webp'); }
body.home .hero::after  { --_hero-bg: url('../images/optimized/bg2.webp'); }
body.ros-patent .hero::before { --_hero-bg: url('../images/optimized/bg3.webp'); }
body.ros-patent .hero::after  { --_hero-bg: url('../images/optimized/bg6.webp'); }
body.it-accreditation .hero::before { --_hero-bg: url('../images/optimized/bg5.webp'); }
body.it-accreditation .hero::after  { --_hero-bg: url('../images/optimized/bg6.webp'); }

/* Светлый контейнер в hero */
body.home .hero-content,
body.ros-patent .hero-content,
body.it-accreditation .hero-content {
    background: rgba(255,255,255,0.85) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.6) inset !important;
}

/* Цвет заголовков/текста в hero */
body.home .hero h1,
body.ros-patent .hero h1,
body.it-accreditation .hero h1 { color: #00252e !important; }
body.home .hero p,
body.ros-patent .hero p,
body.it-accreditation .hero p { color: #3a3f45 !important; opacity: 1 !important; }

/* Стеклянные карточки в hero */
body.home .hero-left,
body.home .hero-right {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

body.home .hero-right h3 { color: #ffffff !important; }
body.home .hero-right p { color: #ffffff !important; }
/* Текст в левой карточке hero */
body.home .hero-left { color: #00252e !important; }
body.home .hero-left p,
body.home .hero-left ul { color: #00252e !important; }
body.home .hero-left li { color: #ffffff !important; }

/* Светлые карточки по всему лендингу */
/* Светлые карточки по сайту */
body.home .service-card,
body.home .service-card-horizontal,
body.home .advantage-card,
body.home .why-us-card,
body.home .faq-item,
body.home .faq-question,
body.home .faq-answer,
body.home .requirements,
body.ros-patent .service-card,
body.ros-patent .service-card-horizontal,
body.ros-patent .advantage-card,
body.ros-patent .why-us-card,
body.ros-patent .faq-item,
body.ros-patent .faq-question,
body.ros-patent .faq-answer,
body.ros-patent .requirements,
body.it-accreditation .service-card,
body.it-accreditation .service-card-horizontal,
body.it-accreditation .advantage-card,
body.it-accreditation .why-us-card,
body.it-accreditation .faq-item,
body.it-accreditation .faq-question,
body.it-accreditation .faq-answer,
body.it-accreditation .requirements {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
}

body.home .service-card h3 { color: #8FABC2 !important; },
body.home .service-card p { color: #EDEDED !important; },
body.home .service-card-horizontal h3,
body.home .service-card-horizontal p,
body.home .advantage-card h3 { color: #00252e !important; },
body.home .advantage-card p,
body.home .why-us-card h3 { color: #00252e !important; },
body.home .why-us-card p,
body.home .faq h2,
body.home .faq-question h3,
body.home .faq-answer p,
body.home .requirements h2,
body.home .requirement-card h3,
body.home .requirement-card ul li,
body.ros-patent .service-card h3 { color: #8FABC2 !important; },
body.ros-patent .service-card p { color: #EDEDED !important; },
body.ros-patent .service-card-horizontal h3 { color: #8FABC2 !important; },
body.ros-patent .service-card-horizontal p { color: #EDEDED !important; },
body.ros-patent .advantage-card h3 { color: #00252e !important; },
body.ros-patent .advantage-card p,
body.ros-patent .why-us-card h3 { color: #00252e !important; },
body.ros-patent .why-us-card p,
body.ros-patent .faq h2,
body.ros-patent .faq-question h3,
body.ros-patent .faq-answer p,
body.ros-patent .requirements h2,
body.ros-patent .requirement-card h3,
body.ros-patent .requirement-card ul li,
body.it-accreditation .service-card h3 { color: #8FABC2 !important; },
body.it-accreditation .service-card p { color: #EDEDED !important; },
body.it-accreditation .service-card-horizontal h3,
body.it-accreditation .service-card-horizontal p,
body.it-accreditation .advantage-card h3 { color: #00252e !important; },
body.it-accreditation .advantage-card p,
body.it-accreditation .why-us-card h3 { color: #00252e !important; },
body.it-accreditation .why-us-card p,
body.it-accreditation .faq h2,
body.it-accreditation .faq-question h3,
body.it-accreditation .faq-answer p,
body.it-accreditation .requirements h2,
body.it-accreditation .requirement-card h3,
body.it-accreditation .requirement-card ul li {
    color: #ffffff !important;
}

/* Акценты и иконки */
body.home .service-card i,
body.home .service-card-horizontal i,
body.home .why-us-card i,
body.home .requirement-card i,
body.ros-patent .service-card i,
body.ros-patent .service-card-horizontal i,
body.ros-patent .why-us-card i,
body.ros-patent .requirement-card i,
body.it-accreditation .service-card i,
body.it-accreditation .service-card-horizontal i,
body.it-accreditation .why-us-card i,
body.it-accreditation .requirement-card i { color: #D2691E !important; }

/* Раздел "Тарифы" с мягким светлым оверлеем */
body.home .price,
body.ros-patent .price,
body.it-accreditation .price {
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.9));
}
body.home .price-bg,
body.ros-patent .price-bg,
body.it-accreditation .price-bg {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/optimized/bg2.webp');
    background-size: cover;
}
body.home .price h2,
body.ros-patent .price h2,
body.it-accreditation .price h2 { color: #22313f !important; }
body.home .service-card-left,
body.home .price-card,
body.home .service-description-right,
body.ros-patent .service-card-left,
body.ros-patent .price-card,
body.ros-patent .service-description-right,
body.it-accreditation .service-card-left,
body.it-accreditation .price-card,
body.it-accreditation .service-description-right {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.home .service-card-left h3,
body.home .service-card-left p,
body.home .service-card-left .price,
body.home .service-description-right h4,
body.home .service-features li,
body.ros-patent .service-card-left h3,
body.ros-patent .service-card-left p,
body.ros-patent .service-card-left .price,
body.ros-patent .service-description-right h4,
body.ros-patent .service-features li,
body.it-accreditation .service-card-left h3,
body.it-accreditation .service-card-left p,
body.it-accreditation .service-card-left .price,
body.it-accreditation .service-description-right h4,
body.it-accreditation .service-features li { color: #ffffff !important; }

/* Переопределение цвета заголовков карточек */
body.home .service-card-left h3,
body.ros-patent .service-card-left h3,
body.it-accreditation .service-card-left h3 { color: #8FABC2 !important; }

/* Переопределение цвета заголовков в описаниях услуг */
body.home .service-description-right h4,
body.ros-patent .service-description-right h4,
body.it-accreditation .service-description-right h4 { color: #8FABC2 !important; }

/* Переопределение цвета текста "постоплата" */
body.home .postpayment-text,
body.ros-patent .postpayment-text,
body.it-accreditation .postpayment-text { color: #00252e !important; }

/* Переопределение цвета FAQ */
body.home .faq h2,
body.ros-patent .faq h2,
body.it-accreditation .faq h2 { color: #00252e !important; }

body.home .faq-question h3,
body.ros-patent .faq-question h3,
body.it-accreditation .faq-question h3 { color: #00252e !important; }

body.home .faq-answer p,
body.ros-patent .faq-answer p,
body.it-accreditation .faq-answer p { color: #00252e !important; }

/* Цвет текста для price-card на внутренних страницах */
body.ros-patent .price-card h3,
body.ros-patent .price-card p,
body.ros-patent .price-card .price,
body.it-accreditation .price-card h3,
body.it-accreditation .price-card p,
body.it-accreditation .price-card .price { color: #ffffff !important; }

/* Роспатент: левая карточка в hero */
body.ros-patent .price-card-left {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}
body.ros-patent .price-card-left:hover {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
}
body.ros-patent .price-card-left h3 { color: #8FABC2 !important; },
body.ros-patent .price-card-left p { color: #EDEDED !important; },
body.ros-patent .price-card-left .price { color: #ffffff !important; }

/* FAQ светлая гармошка */
body.home .faq-item,
body.home .faq-question,
body.home .faq-answer { background: #ffffff !important; }
body.home .faq-icon { color: #003841 !important; }

/* Хедер светлый, липкий, с прозрачностью */
/* Светлый хедер */
body.home nav,
body.ros-patent nav,
body.it-accreditation nav {
    background: linear-gradient(134.88deg, #2C3E50 62.59%, #7E99BD 100%) !important;
    border: 1px solid rgba(0,0,0,0.06);
}
body.home .nav-links a,
body.home .phone a,
body.home .work-region,
body.ros-patent .nav-links a,
body.ros-patent .phone a,
body.ros-patent .work-region,
body.it-accreditation .nav-links a,
body.it-accreditation .phone a,
body.it-accreditation .work-region { color: #ffffff !important; }
body.home .work-time,
body.ros-patent .work-time,
body.it-accreditation .work-time { color: #003841 !important; }

/* Футер делаем светлым на главной */
/* Светлый футер */
body.home footer,
body.ros-patent footer,
body.it-accreditation footer {
    background: #f4f6f8 !important;
    color: #22313f !important;
    border-top: 1px solid rgba(0,0,0,0.06);
}
body.home .footer-info h3,
body.home .contact-item a,
body.home .requisites-item,
body.home .footer-bottom a,
body.ros-patent .footer-info h3,
body.ros-patent .contact-item a,
body.ros-patent .requisites-item,
body.ros-patent .footer-bottom a,
body.it-accreditation .footer-info h3,
body.it-accreditation .contact-item a,
body.it-accreditation .requisites-item,
body.it-accreditation .footer-bottom a { color: #22313f !important; }
body.home .footer-social a,
body.ros-patent .footer-social a,
body.it-accreditation .footer-social a { color: #22313f !important; }
body.home .footer-social a:hover,
body.ros-patent .footer-social a:hover,
body.it-accreditation .footer-social a:hover { color: #003841 !important; }





/* Плавные тени и подъём карточек на главной */
body.home .service-card,
body.home .service-card-horizontal,
body.home .advantage-card,
body.home .why-us-card,
body.home .requirement-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.home .service-card:hover,
body.home .service-card-horizontal:hover,
body.home .advantage-card:hover,
body.home .why-us-card:hover,
body.home .requirement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08) !important;
}

/* Глобальное утолщение шрифтов (по всей витрине) */
p, li, a,
.button,
.price,
.postpayment-text,
.service-features li,
.contact-item a,
.nav-links a,
.work-time,
.work-region,
.faq h2,
.faq-question h3,
.faq-answer p,
.about-us-text p,
.specialist-card h4,
.specialist-card ul li,
.why-us-card h3,
.why-us-card p,
.service-card h3,
.service-card p,
.service-card-horizontal h3,
.service-card-horizontal p,
.advantage-card h3,
.advantage-card p,
.requirement-card h3,
.requirement-card ul li,
.service-card-left h3,
.service-card-left p,
.service-description-right h4,
.service-description-right .service-features li,
.price-card h3,
.price-card p {
    font-weight: 700 !important;
}

.contact-form input,
.callback-form input,
.contact-form .button,
.callback-form .button {
    font-weight: 700;
}

/* Кнопки — шрифт Barlow Condensed */
.button,
.price-buttons .button,
.modal-buttons .button,
.contact-form .button,
.callback-form .button,
.thanks-modal .button,
.thanks-content .button,
.price-card .button,
.price-card-left .button,
.service-card-left .button,
.cta-button {
    font-family: var(--font-family-bold) !important; /* Barlow Condensed */
}

/* Защита изображений от скачивания */
.specialist-photo img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Дополнительная защита для всех изображений */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Черный текст для определенных элементов */
.about-us-card .black-text {
    color: #000000 !important;
}

/* Черный цвет для заголовка "Преимущества:" в hero */
body.home .hero-advantages-title {
    font-weight: bold !important;
    font-size: 1.5em !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    color: #000000 !important;
    margin-bottom: 25px !important;
    text-align: center !important;
}

/* Общие стили для всех кнопок */
.button,
.price-card-left .button,
.service-card-left .button,
.price-card .button,
.contact-form .button,
.callback-form .button,
.price-buttons .button,
.modal-buttons .button,
.thanks-modal .button,
.thanks-content .button,
.cta-button {
    background-color: #D2691E !important;
    color: #EDEDED !important;
    border: none !important;
    transition: background-color 0.3s ease !important;
}

.button:hover,
.price-card-left .button:hover,
.service-card-left .button:hover,
.price-card .button:hover,
.contact-form .button:hover:not(:disabled),
.callback-form .button:hover,
.price-buttons .button:hover,
.modal-buttons .button:hover,
.thanks-modal .button:hover,
.thanks-content .button:hover,
.cta-button:hover {
    background-color: #B8860B !important;
    color: #EDEDED !important;
}

/* Специальные стили для текста в hero секции */
.hero-left p {
    color: #8FABC2 !important;
}

/* Стили для правой карточки hero */
.hero-advantages-title {
    color: #8FABC2 !important;
}

.hero-right i {
    color: #D2691E !important;
}

/* Значки в разделе "Сильные стороны нашего подхода" */
.why-us-card i {
    color: #D2691E !important;
}

/* Специальные тексты в разделе "Наша команда" */
.about-us-card p[style*="color: #8FABC2"] {
    color: #8FABC2 !important;
}

/* Стили для раздела "Как мы обеспечиваем результат" */
.service-card h3 {
    color: #8FABC2 !important;
}

.service-card p {
    color: #EDEDED !important;
}

/* Стили для раздела "Стоимость услуг" */
.service-card-left h3,
.service-description-right h4 {
    color: #8FABC2 !important;
}

.service-card-left p,
.service-features li {
    color: #EDEDED !important;
}

.service-features i {
    color: #D2691E !important;
}

/* Имена специалистов */
.specialist-name {
    color: #8FABC2 !important;
}

/* Карточки на странице Роспатента */
body.ros-patent .service-card-horizontal h3 {
    color: #8FABC2 !important;
}
body.ros-patent .service-card-horizontal p {
    color: #EDEDED !important;
}

/* Заголовок в price-card-left на странице Роспатента */
body.ros-patent .price-card-left h3 {
    color: #8FABC2 !important;
}
body.ros-patent .price-card-left p {
    color: #EDEDED !important;
}



/* Общие стили для заголовков в карточках */
.service-card-horizontal h3,
.advantage-card h3,
.why-us-card h3,
.specialist-card h4,
.price-card h3,
.price-card-left h3,
.service-card-left h3,
.work-header h3,
.stat-item h3,
.requirement-card h3,
.faq-question h3 {
    color: #8FABC2 !important;
}