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

body {
    font-family: 'Montserrat', sans-serif;
    color: #e8e0d0;
    background: #0b1e2e;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
    background: #0b1e2e;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-title span {
    color: #c9a96e;
}

.section-sub {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 300;
    color: #b0b8b8;
    font-size: 17px;
}

.divider {
    width: 80px;
    height: 2px;
    background: #c9a96e;
    margin: 20px auto;
}

/* ============================================
   HEADER (компактная версия)
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 30, 46, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

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

.logo-main {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-main span {
    color: #c9a96e;
}

.logo-sub {
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #c9a96e;
    text-transform: uppercase;
    display: block;
    margin-top: 1px;
    white-space: nowrap;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

nav ul li a {
    color: #c8d0d0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #c9a96e;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #ffffff;
}

nav ul li a:hover::after {
    width: 100%;
}

.btn-nav {
    background: #c9a96e;
    color: #0b1e2e !important;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
    font-size: 12px;
}

.btn-nav:hover {
    background: #dbb97c;
    color: #0b1e2e !important;
}

.btn-nav::after {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 2px;
    background: #ffffff;
    transition: 0.3s;
}

/* ============================================
   АДАПТИВ ДЛЯ ШАПКИ НА УЗКИХ ЭКРАНАХ (1200px и меньше)
   ============================================ */
@media (max-width: 1200px) {
    .logo-main {
        font-size: 16px;
    }
    .logo-sub {
        font-size: 9px;
    }
    nav ul {
        gap: 15px;
    }
    nav ul li a {
        font-size: 12px;
    }
    .btn-nav {
        font-size: 11px;
        padding: 5px 14px;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, #07131f 0%, #0b1e2e 50%, #142838 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><rect x="10" y="10" width="80" height="80" stroke="%23c9a96e" stroke-width="0.5" fill="none"/><rect x="25" y="25" width="50" height="50" stroke="%23c9a96e" stroke-width="0.5" fill="none"/></svg>');
    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero h1 span {
    color: #c9a96e;
}

.hero-sub {
    font-size: 18px;
    font-weight: 300;
    color: #c8d0d0;
    max-width: 700px;
    margin: 20px auto 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: #c9a96e;
    color: #0b1e2e;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #dbb97c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.25);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid #c9a96e;
    color: #c9a96e;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
    background: transparent;
}

.btn-secondary:hover {
    background: #c9a96e;
    color: #0b1e2e;
}

/* ===== HERO SCROLL ===== */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #7a8a8a;
    font-size: 32px;
    animation: bounce 2s infinite;
    transition: color 0.3s;
    display: block;
    cursor: pointer;
    z-index: 2;
}

.hero-scroll:hover {
    color: #c9a96e;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SLOGAN
   ============================================ */
.slogan-section {
    background: #0f2636;
    padding: 60px 0;
    text-align: center;
}

.slogan-section blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #c9a96e;
    max-width: 800px;
    margin: 0 auto 15px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-card {
    background: #142838;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #c9a96e;
    transition: none;
}
.about-card:hover {
    /* пусто */
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.about-card i {
    font-size: 38px;
    color: #c9a96e;
    margin-bottom: 15px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-card p {
    color: #b0b8b8;
    font-weight: 300;
    font-size: 15px;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
    background: #0f2636;
}

.approach-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.approach-text {
    flex: 1 1 300px;
    max-width: 600px;
}

.approach-text p {
    font-size: 18px;
    font-weight: 300;
    color: #c8d0d0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.approach-text p:last-child {
    margin-bottom: 0;
}

.approach-features {
    flex: 1 1 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
}

.approach-item {
    background: #142838;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #1e3a4a;
    transition: none;
    cursor: default;
}
.approach-item:hover {
    /* пусто */
}

.approach-item i {
    font-size: 30px;
    color: #c9a96e;
    display: block;
    margin-bottom: 8px;
}

.approach-item span {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: #0b1e2e;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(200px, 1fr));
    gap: 25px;
    justify-content: center;
}

.service-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-item {
    background: #142838;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 3px solid #c9a96e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s, transform 0.3s, color 0.3s;
}

.service-item i {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 15px;
    color: #c9a96e;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.service-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.service-item p {
    font-size: 13px;
    font-weight: 300;
    color: #b0b8b8;
    margin: 0;
}

.service-item-link:hover .service-item {
    background: #c9a96e;
    color: #0b1e2e;
    transform: translateY(-3px);
}
.service-item-link:hover .service-item i {
    color: #0b1e2e;
}
.service-item-link:hover .service-item p {
    color: #0b1e2e;
}

/* ============================================
   PORTFOLIO (на главной)
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    border-bottom: 3px solid #c9a96e;
    transition: none;
    cursor: default;
}

.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 30, 46, 0.85) 0%, transparent 60%);
}

.portfolio-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}
.portfolio-card-link:hover {
    transform: scale(1.02);
}
.portfolio-card-link .portfolio-card {
    transition: none;
    cursor: pointer;
}

.portfolio-info {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 14px;
    font-weight: 300;
    opacity: 0.9;
}

/* ============================================
   AWARDS
   ============================================ */
.awards-section {
    background: #0f2636;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.award-card {
    background: #142838;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #1e3a4a;
    border-bottom: 3px solid #c9a96e;
    transition: none;
}
.award-card:hover {
    /* пусто */
}

.award-card i {
    font-size: 36px;
    color: #c9a96e;
    margin-bottom: 15px;
}

.award-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.award-card p {
    font-size: 14px;
    font-weight: 300;
    color: #b0b8b8;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    background: #0b1e2e;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 50px;
    margin-bottom: 30px;
}

.partners-logos span {
    font-weight: 500;
    font-size: 18px;
    color: #b0b8b8;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partners-logos span:hover {
    opacity: 1;
    color: #ffffff;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    background: #0f2636;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 10px;
}

.client-card {
    background: #142838;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #1e3a4a;
    border-bottom: 3px solid #c9a96e;
    transition: none;
}
.client-card:hover {
    /* пусто */
}

.client-card i {
    font-size: 34px;
    color: #c9a96e;
    margin-bottom: 15px;
}

.client-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.client-card p {
    font-size: 14px;
    font-weight: 300;
    color: #b0b8b8;
}

.clients-more {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #c9a96e;
    margin-top: 40px;
    letter-spacing: 2px;
}

/* ============================================
   КОНТАКТЫ — ОБНОВЛЁННЫЙ БЛОК
   ============================================ */
.contact-wrap {
    background: #142838;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Контактные карточки */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #0b1e2e;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid #c9a96e;
}

.contact-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(201, 169, 110, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #c9a96e;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-card-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #7a8a8a;
}

.contact-card-value {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s;
}

.contact-card-value:hover {
    color: #c9a96e;
}

/* Социальная секция — всё по центру */
.contact-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid #1a3042;
}

.contact-social-label {
    font-size: 14px;
    font-weight: 500;
    color: #b0b8b8;
    letter-spacing: 0.5px;
}

.contact-social .socials {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin: 0;
}

.contact-social .social-icon {
    width: 48px;
    height: 48px;
    background: #0b1e2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b8b8;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

.contact-social .social-icon:hover {
    background: #c9a96e;
    color: #0b1e2e;
}

.contact-social .social-icon svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   АДАПТИВ ДЛЯ НОВОГО БЛОКА
   ============================================ */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .contact-wrap {
        padding: 25px;
    }
}

/* ============================================
   АДАПТИВ ДЛЯ НОВОГО БЛОКА
   ============================================ */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 16px 20px;
    }
}

@media (max-width: 768px) {
    .contact-wrap {
        padding: 25px;
    }
    .contact-social {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-social .socials {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #06131e;
    color: #5a6a6a;
    padding: 40px 0;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

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

.footer-logo .logo-main {
    font-size: 18px;
    color: #ffffff;
}

.footer-logo .logo-sub {
    font-size: 10px;
}

.footer-copy {
    font-size: 14px;
    font-weight: 300;
}

.footer-policy a {
    font-size: 14px;
    font-weight: 300;
    color: #4a5a5a;
    border-bottom: 1px dashed #2a3a3a;
}

.footer-policy a:hover {
    color: #c9a96e;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */
.service-detail {
    padding-top: 140px;
    background: #0b1e2e;
}

.service-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-header i {
    font-size: 56px;
    color: #c9a96e;
    display: block;
    margin-bottom: 15px;
}

.service-header .section-title {
    margin-bottom: 0;
}

.service-body {
    max-width: 900px;
    margin: 0 auto;
}

.service-body .stage {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a3042;
}

.service-body .stage:last-child {
    border-bottom: none;
}

.service-body .stage h4 {
    font-size: 20px;
    font-weight: 600;
    color: #c9a96e;
    margin-bottom: 12px;
}

.service-body ul {
    list-style: none;
    padding-left: 0;
}

.service-body ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-weight: 300;
    color: #c8d0d0;
    line-height: 1.7;
}

.service-body ul li::before {
    content: '●';
    color: #c9a96e;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
}

.service-body p {
    font-weight: 300;
    color: #c8d0d0;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ============================================
   АДАПТИВ (ОБЩИЙ)
   ============================================ */
@media (max-width: 992px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(11, 30, 46, 0.98);
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 30px 0;
        gap: 20px;
        border-top: 1px solid #1a3042;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }
    nav ul.active {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-sub {
        font-size: 16px;
    }
    .slogan-section blockquote {
        font-size: 22px;
    }
    .section {
        padding: 60px 0;
    }
    .about-grid,
    .portfolio-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-logos {
        gap: 15px 30px;
    }
    .partners-logos span {
        font-size: 14px;
    }
    .contact-wrap {
        padding: 25px;
    }
    .approach-content {
        flex-direction: column;
    }
    .approach-text {
        max-width: 100%;
    }
    .approach-features {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .service-detail {
        padding-top: 120px;
    }
    .service-header i {
        font-size: 40px;
    }
    .service-body .stage h4 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-item {
        padding: 15px 10px;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .approach-features {
        grid-template-columns: 1fr 1fr;
    }
}