/* Глобальные настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 90px;
    background: #0a0a0a;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
}

/* Плавающая кнопка звонка */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(243, 156, 18, 0.7);
}

.floating-call-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
    }
    50% {
        box-shadow: 0 8px 50px rgba(243, 156, 18, 0.8);
    }
}

/* Шапка сайта */
header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

header.header-hidden {
    transform: translateY(-100%);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #f39c12;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo .highlight {
    color: #ffffff;
    font-weight: 600;
}

/* Навигация */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 70%;
}

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

.header-phone a {
    color: #f39c12;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.header-phone a:hover {
    color: #ffffff;
}

.cta-button {
    background: #f39c12;
    color: #000000 !important;
    padding: 14px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid #f39c12;
    text-shadow: none;
}

.cta-button:hover {
    background: transparent;
    border-color: #e67e22;
    color: #f39c12 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(243, 156, 18, 0.5);
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: rgba(243, 156, 18, 0.2);
    border: 2px solid #f39c12;
    color: #f39c12;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.mobile-menu-btn:hover {
    background: rgba(243, 156, 18, 0.3);
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Скрываем мобильные элементы на десктопе */
.menu-overlay,
.mobile-contacts {
    display: none;
}

/* Hero секция */
.hero-section {
    padding: 80px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

.hero-content .subtitle {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 35px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    color: #f39c12;
    display: block;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 16px;
    color: #ffffff;
    margin-top: 8px;
    font-weight: 500;
}

/* Секция "О себе" */
.about-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: #f39c12;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.achievements {
    margin-top: 30px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    border-radius: 5px;
}

.achievement-icon {
    color: #f39c12;
    font-size: 24px;
    min-width: 30px;
}

.achievement-text {
    font-size: 16px;
    color: #f5f5f5;
    line-height: 1.6;
}

/* Секция услуг */
.services-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    color: #f39c12;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #e5e5e5;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 10px;
    border-left: 5px solid #f39c12;
    border-right: 5px solid #f39c12;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #f39c12;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #f39c12;
    box-shadow: 0 15px 40px rgba(243, 156, 18, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #f39c12;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-card p {
    font-size: 16px;
    color: #e8e8e8;
    line-height: 1.7;
}

/* Секция принципов работы */
.principles-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
}

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

.principle-item {
    background: rgba(243, 156, 18, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    transition: all 0.3s ease;
}

.principle-item:hover {
    background: rgba(243, 156, 18, 0.15);
    transform: translateX(10px);
}

.principle-item p {
    font-size: 16px;
    color: #f0f0f0;
    margin: 0;
    line-height: 1.7;
}

/* Форма обратной связи */
.contact-form-section {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #f39c12;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 5px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #f39c12;
    border: 2px solid #f39c12;
    border-radius: 5px;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Футер */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(243, 156, 18, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #f39c12;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    color: #d5d5d5;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #f39c12;
    text-decoration: underline;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    fill: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 14px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 42px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }

    header {
        padding: 10px 0;
    }

    .header-container {
        flex-wrap: nowrap;
        padding: 0 15px;
    }

    .logo {
        flex: 1;
    }

    .logo h1 {
        font-size: 14px;
        line-height: 1.3;
    }

    /* Скрываем десктопное меню и телефон */
    .header-phone {
        display: none;
    }

    /* Кнопка мобильного меню */
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    /* Показываем оверлей */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Мобильное выдвижное меню */
    .main-nav {
        display: flex;
        position: fixed;
        top: 70px;
        right: 0;
        height: calc(100vh - 70px);
        width: 75%;
        max-width: 280px;
        background: linear-gradient(135deg, rgba(15, 15, 25, 0.98) 0%, rgba(25, 25, 40, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px 0;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
        border-left: 3px solid #f39c12;
        border-top: 2px solid #f39c12;
        border-top-left-radius: 10px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav a {
        display: block;
        padding: 18px 30px;
        font-size: 17px;
        text-align: left;
        color: #ffffff;
        text-decoration: none;
        border-bottom: 1px solid rgba(243, 156, 18, 0.15);
        background: transparent;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.4s ease, opacity 0.5s ease, transform 0.5s ease;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        background: rgba(243, 156, 18, 0.15);
        color: #f39c12;
        padding-left: 35px;
    }

    .main-nav.active a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Поэтапная анимация появления пунктов меню */
    .main-nav.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .main-nav.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .main-nav.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .main-nav.active a:nth-child(4) {
        transition-delay: 0.4s;
    }


    .hero-section {
        padding: 60px 20px 50px;
    }

    .hero-content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-content .subtitle {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .hero-stats {
        gap: 20px;
        margin: 40px 0 30px;
    }

    .stat-item {
        padding: 20px 25px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    .about-text h3 {
        font-size: 28px;
    }

    .about-text p {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .floating-call-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .floating-call-btn svg {
        width: 28px;
        height: 28px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
        line-height: 1.3;
    }

    .hero-section {
        padding: 50px 15px 40px;
    }

    .hero-content h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .stat-item {
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form-container {
        padding: 25px 15px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 20px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 20px 50px 20px 24px;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #d4af37;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: #ccc;
    line-height: 1.7;
    font-size: 15px;
}

.faq-answer a {
    color: #d4af37;
    text-decoration: none;
}

.faq-answer.open {
    display: block;
}
