/* ======== ГЛОБАЛЬНЫЕ СТИЛИ ======== */
:root {
    --primary-gradient: linear-gradient(45deg, #252525, #575757);
    --accent-gradient: linear-gradient(45deg, #ff9d00, #ffce00);
    --text-dark: #252525;
    --text-light: #FAFAFA;
    --shadow: 0 5px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* ======== ТИПОГРАФИЯ ======== */
.card p,
.step p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.card h3,
.step h3 {
    font-size: 1.6rem;
}

/* ======== КНОПКИ ======== */
.button {
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    max-width: 200px;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: linear-gradient(45deg, #000, #333);
    transform: translateY(-2px);
}

/* ======== ШАПКА ======== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(7.5px);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.site-header h1 {
    font-size: 27.5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-header nav {
    display: flex;
    margin-left: auto;
}

.site-header nav a {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin: 0 15px;
    position: relative;
    padding: 10px 5px;
}

.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 6px;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.site-header nav a:hover::after {
    width: 90%;
}

/* ======== ГЛАВНЫЙ БАННЕР ======== */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    max-height: 800px;
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/img/Kerlen1.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    z-index: 1;
}

.hero-text {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    max-width: 1200px;
    color: white;
}

.hero-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-text p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 3;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* ======== КАРТОЧКИ ======== */
.card-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
}

.card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: -1;
}

.card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-8px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-gradient);
    transition: width 0.4s ease;
}

.card:hover h3::after {
    width: 80px;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: bold;
    color: 252525;
    margin: 20px 0;
    padding: 8px 20px;
    display: inline-block;
    border: 2px solid #ff9d00;
    border-radius: 25px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ======== ШАГИ СОЗДАНИЯ ======== */
.steps {
    padding: 60px 20px 40px 20px;
    background: linear-gradient(to bottom, #FAFAFA 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-features {
    margin: 15px 0;
    padding-left: 20px;
    text-align: left;
    color: #555;
    line-height: 1.6;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.service-features li:before {
    content: "•";
    color: #ff9d00;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.step:hover .step-number {
    transform: scale(1.1);
}

/* ======== О КОМПАНИИ ======== */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #3a3a3a 100%);
    color: white;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1 1 500px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: white;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.stats {
    display: flex;
    margin-top: 40px;
    gap: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1 1 120px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffce00; /* Простой цвет вместо градиента */
}

.stat-label {
    font-size: 1.1rem;
    color: #ccc;
}

.about-image {
    flex: 1 1 400px;
    max-width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ======== КОНТАКТЫ ======== */
.contact-container {
    display: flex;
    gap: 50px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.contact-info,
.contact-form {
    flex: 1 1 500px;
    padding: 40px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 50px;
    max-height: 250px;
    height: 120px;
    resize: vertical;
}

.contact-form button {
    padding: 15px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.contact-info a {
    color: #555;
    text-decoration: none;
    font-weight: normal;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ======== FAQ ======== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0,0,0,0.02);
}

.faq-question h3 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: #ff9d00;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-answer p {
    padding: 15px 25px 25px;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: -10px;
}

.faq-item.active .faq-question {
    background-color: rgba(255, 157, 0, 0.05);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ======== ПОДВАЛ ======== */
.site-footer {
    background: #252525;
    padding-top: 60px;
    font-family: 'Helvetica', sans-serif;
    color: #f0f0f0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,157,0,0.1) 0%, rgba(255,255,255,0.2) 50%, rgba(255,157,0,0.1) 100%);
    margin: 40px 0;
    border: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-group {
    padding: 0 10px;
}

.footer-group h4 {
    color: #ffb340;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-group a,
.footer-group p {
    color: #c0c0c0;
    display: block;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-group a:hover {
    color: #ffce00;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #ff9d00;
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    color: #ffce00;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 157, 0, 0.15);
    color: #999;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ======== TABLET ADJUSTMENTS ======== */
@media (max-width: 1100px) {
    .principles-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        padding: 20px 40px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .principles-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        padding: 20px 30px;
    }
}