/* ===== БАЗОВЫЕ НАСТРОЙКИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.gold {
    color: #c9b98a;
}

/* ===== АНИМАЦИИ ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ШАПКА ===== */
.header {
    background: rgba(15, 32, 39, 0.95);
    border-bottom: 2px solid #c9b98a;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #ffffff;
    font-family: 'Georgia', serif;
    opacity: 0;
    animation: slideInText 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes slideInText {
    0% {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.logo-text .gold {
    display: inline-block;
    opacity: 0;
    animation: goldAppear 1.5s ease-out forwards;
    animation-delay: 1.5s;
}

@keyframes goldAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
        text-shadow: 0 0 0px rgba(201, 185, 138, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 20px rgba(201, 185, 138, 0.5);
    }
}

.main-nav a {
    color: #b0c4d4;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9b98a;
    transition: width 0.3s;
}

.main-nav a:hover {
    color: #c9b98a;
}

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

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.8) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 185, 138, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 90, 123, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-logo-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.hero-logo {
    width: 400px;
    height: 400px;
    object-fit: contain;
    opacity: 0;
    animation: logoAppear 2.5s ease-out forwards, logoPulse 4s ease-in-out 2.5s infinite;
    filter: 
        drop-shadow(0 0 25px rgba(201, 185, 138, 0.9))
        drop-shadow(0 0 50px rgba(201, 185, 138, 0.7))
        drop-shadow(0 0 75px rgba(201, 185, 138, 0.5))
        drop-shadow(0 0 100px rgba(45, 90, 123, 0.5));
    transition: all 0.5s;
}

.hero-logo:hover {
    transform: scale(1.08);
    filter: 
        drop-shadow(0 0 30px rgba(201, 185, 138, 1))
        drop-shadow(0 0 60px rgba(201, 185, 138, 0.8))
        drop-shadow(0 0 90px rgba(201, 185, 138, 0.6))
        drop-shadow(0 0 120px rgba(45, 90, 123, 0.6));
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: 
            drop-shadow(0 0 0px rgba(201, 185, 138, 0))
            drop-shadow(0 0 0px rgba(201, 185, 138, 0));
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: 
            drop-shadow(0 0 25px rgba(201, 185, 138, 0.9))
            drop-shadow(0 0 50px rgba(201, 185, 138, 0.7))
            drop-shadow(0 0 75px rgba(201, 185, 138, 0.5))
            drop-shadow(0 0 100px rgba(45, 90, 123, 0.5));
    }
}

@keyframes logoPulse {
    0%, 100% {
        filter: 
            drop-shadow(0 0 25px rgba(201, 185, 138, 0.9))
            drop-shadow(0 0 50px rgba(201, 185, 138, 0.7))
            drop-shadow(0 0 75px rgba(201, 185, 138, 0.5))
            drop-shadow(0 0 100px rgba(45, 90, 123, 0.5));
    }
    50% {
        filter: 
            drop-shadow(0 0 35px rgba(201, 185, 138, 1))
            drop-shadow(0 0 70px rgba(201, 185, 138, 0.8))
            drop-shadow(0 0 105px rgba(201, 185, 138, 0.6))
            drop-shadow(0 0 140px rgba(45, 90, 123, 0.6));
    }
}

.hero-subtitle {
    color: #c9b98a;
    font-size: 16px;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: 'Georgia', serif;
}

.hero h2 {
    font-size: 56px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Georgia', serif;
}

.hero-text {
    font-size: 20px;
    color: #b0c4d4;
    margin-bottom: 50px;
    font-family: 'Georgia', serif;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 18px 50px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    font-family: 'Georgia', serif;
}

.btn-gold {
    background: linear-gradient(135deg, #c9b98a 0%, #b8a76a 100%);
    color: #0f2027;
    box-shadow: 0 5px 20px rgba(201, 185, 138, 0.4);
}

.btn-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 185, 138, 0.6);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #c9b98a;
}

.btn-outline:hover {
    background: #c9b98a;
    color: #0f2027;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 120px 0;
}

.section-label {
    color: #c9b98a;
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: 'Georgia', serif;
}

.section h2 {
    font-size: 44px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 0;
    font-family: 'Georgia', serif;
}

.section-text {
    font-size: 17px;
    color: #b0c4d4;
    max-width: 800px;
    margin-bottom: 60px;
    font-family: 'Georgia', serif;
}

.dark-section {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.95) 0%, rgba(32, 58, 67, 0.9) 100%);
    border-top: 1px solid rgba(201, 185, 138, 0.3);
    border-bottom: 1px solid rgba(201, 185, 138, 0.3);
}

/* ===== О КОМПАНИИ ===== */
.about-grid {
    margin-bottom: 80px;
}

.about-text {
    margin-bottom: 60px;
    text-align: center;
}

.lead-text {
    font-size: 19px;
    color: #c0d0e0;
    line-height: 1.9;
    font-family: 'Georgia', serif;
    text-align: center;
}

.president-block {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.8) 0%, rgba(32, 58, 67, 0.8) 100%);
    border: 2px solid rgba(201, 185, 138, 0.4);
    padding: 50px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.president-photo {
    width: 100%;
}

.president-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 2px solid #c9b98a;
    box-shadow: 0 10px 30px rgba(201, 185, 138, 0.3);
    transition: transform 0.5s;
}

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

.president-message {
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: #c9b98a;
    opacity: 0.4;
    position: absolute;
    top: -30px;
    left: -28px;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.president-text {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.president-text p {
    font-size: 17px;
    color: #d0e0f0;
    line-height: 1.9;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.president-signature {
    border-top: 1px solid rgba(201, 185, 138, 0.4);
    padding-top: 20px;
}

.signature-name {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Georgia', serif;
    margin-bottom: 5px;
}

.signature-position {
    color: #b0c4d4;
    font-size: 14px;
    font-family: 'Georgia', serif;
}

/* ===== ФИЛОСОФИЯ ===== */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-image {
    width: 100%;
}

.philosophy-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 2px solid rgba(201, 185, 138, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s;
}

.philosophy-img:hover {
    transform: scale(1.03);
}

.philosophy-content {
    padding: 40px 0;
}

.philosophy-text {
    margin: 40px 0;
}

.philosophy-text p {
    font-size: 17px;
    color: #c0d0e0;
    line-height: 2;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
}

/* ===== ПРЕИМУЩЕСТВА С КАРТИНКАМИ ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.feature {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.9) 100%);
    border: 1px solid rgba(201, 185, 138, 0.3);
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.feature-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: all 0.6s ease;
    filter: brightness(0.7);
}

.feature-content {
    position: relative;
    z-index: 1;
}

/* При наведении на блок - картинка проявляется */
.feature:hover .feature-bg img {
    opacity: 0.6;
    filter: brightness(1);
    transform: scale(1.1);
}

/* При наведении на блок - свечение рамки */
.feature:hover {
    border-color: #c9b98a;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(201, 185, 138, 0.2);
}

/* При наведении на саму картинку - АУРА/СВЕЧЕНИЕ */
.feature-bg img:hover {
    opacity: 0.9 !important;
    filter: brightness(1.3) 
            drop-shadow(0 0 30px rgba(201, 185, 138, 1)) 
            drop-shadow(0 0 60px rgba(201, 185, 138, 0.8))
            drop-shadow(0 0 90px rgba(201, 185, 138, 0.6))
            drop-shadow(0 0 120px rgba(45, 90, 123, 0.5));
    transform: scale(1.15);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.feature h3 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #ffffff;
    font-family: 'Georgia', serif;
    position: relative;
    z-index: 1;
}

.feature p {
    color: #b0c4d4;
    font-size: 15px;
    font-family: 'Georgia', serif;
    position: relative;
    z-index: 1;
}

/* ===== ПАРТНЁРЫ ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.9) 0%, rgba(32, 58, 67, 0.9) 100%);
    padding: 50px 30px;
    text-align: center;
    border: 1px solid rgba(201, 185, 138, 0.3);
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-card:hover {
    border-color: #c9b98a;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(201, 185, 138, 0.25);
}

.partner-card h4 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #c9b98a;
    font-family: 'Georgia', serif;
    letter-spacing: 2px;
}

.partner-card p {
    color: #b0c4d4;
    font-size: 15px;
    font-family: 'Georgia', serif;
}

/* ===== КОНТАКТЫ ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
    font-family: 'Georgia', serif;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    font-family: 'Georgia', serif;
}

.contact-label {
    color: #c9b98a;
    min-width: 120px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-info a {
    color: #e0e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #c9b98a;
}

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

.contact-form input,
.contact-form textarea {
    padding: 18px 20px;
    background: rgba(15, 32, 39, 0.8);
    border: 1px solid rgba(201, 185, 138, 0.3);
    color: #ffffff;
    font-size: 15px;
    font-family: 'Georgia', serif;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c9b98a;
    box-shadow: 0 0 20px rgba(201, 185, 138, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    border-top: 2px solid #c9b98a;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    letter-spacing: 3px;
    color: #ffffff;
    font-family: 'Georgia', serif;
}

.footer-info p {
    color: #b0c4d4;
    font-size: 14px;
    font-family: 'Georgia', serif;
    margin: 3px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(201, 185, 138, 0.3);
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
    font-family: 'Georgia', serif;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 968px) {
    .president-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .president-img {
        height: 350px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .philosophy-img {
        height: 400px;
    }
    
    .hero-logo {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .logo-text h1 {
        font-size: 16px;
        letter-spacing: 2px;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    
    .main-nav {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        font-size: 11px;
        margin: 0 5px;
        padding: 3px 5px;
        display: inline-block;
        margin-bottom: 5px;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-logo {
        width: 250px;
        height: 250px;
    }
    
    .hero h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-text {
        font-size: 17px;
        text-align: center;
    }
    
    .section {
        padding: 80px 0;
    }
    
    /* ДОБАВЛЕНО: центрирование заголовков секций */
    .section-label {
        margin-bottom: 5px;
        font-size: 12px;
        text-align: center !important;
    }
    
    .section h2 {
        font-size: 32px;
        margin-bottom: 15px;
        text-align: center !important;
    }
    
    /* ДОБАВЛЕНО: центрирование текста "О компании" */
    .about-text {
        text-align: center !important;
    }
    
    .lead-text {
        text-align: center !important;
    }
    
    /* ДОБАВЛЕНО: центрирование "Философия" */
    .philosophy-content {
        text-align: center !important;
    }
    
    .philosophy-text {
        text-align: center !important;
    }
    
    .philosophy-text p {
        text-align: center !important;
    }
    
    .section-text {
        text-align: center !important;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .president-block {
        padding: 30px;
    }
    
    .feature {
        min-height: 350px;
        padding: 40px 20px;
    }
    
    .quote-icon {
        left: -30px;
        font-size: 40px;
    }
}