/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0A1628;
    color: #E8EDF2;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, .logo-main, .logo-sub {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C89A3C;
    background: rgba(200, 154, 60, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

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

.section-desc {
    font-size: 18px;
    color: #8A9BA8;
    max-width: 600px;
}

/* ============================================================
   BUTTONS  
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #C89A3C, #E8C86A);
    color: #0A1628;
    box-shadow: 0 4px 20px rgba(200, 154, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(200, 154, 60, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 44px;
    font-size: 18px;
}

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

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(10, 22, 40, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #C89A3C, #E8C86A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0A1628;
}

.logo-text {
    line-height: 1.15;
}

.logo-main {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    display: block;
}

.logo-sub {
    font-size: 16px;
    font-weight: 800;
    color: #C89A3C;
    letter-spacing: 0.5px;
    display: block;
    margin-top: -2px;
}

.logo-legal {
    font-size: 9px;
    font-weight: 500;
    color: #8A9BA8;
    letter-spacing: 1px;
    display: block;
    margin-top: 1px;
}

/* ---- Navigation ---- */
.nav-list {
    display: flex;
    gap: 8px;
}

.nav-list a {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #8A9BA8;
    position: relative;
}

.nav-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-list a.active {
    color: #fff;
    background: rgba(200, 154, 60, 0.15);
}

/* ---- Burger ---- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(10, 22, 40, 0.4), #0A1628 70%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 760px;
    padding-top: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #C89A3C;
    background: rgba(200, 154, 60, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 154, 60, 0.15);
}

.hero-title-top {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #8A9BA8;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.hero-title-main {
    display: block;
    font-size: clamp(32px, 5.5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
}

.hero-title-bottom {
    display: block;
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 600;
    color: #C89A3C;
    margin-top: 8px;
    min-height: 48px;
}

.hero-title-bottom .cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background: #C89A3C;
    margin-left: 4px;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 20px;
    color: #8A9BA8;
    margin: 16px 0 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #8A9BA8;
    font-size: 12px;
    letter-spacing: 1px;
    animation: bounceDown 2s infinite;
}

.hero-scroll i {
    font-size: 18px;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    padding: 60px 0;
    background: rgba(17, 31, 53, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-number span {
    color: #C89A3C;
}

.stat-label {
    font-size: 15px;
    color: #8A9BA8;
    margin-top: 6px;
}

.stat-label span {
    color: #E8EDF2;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    padding: 30px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(26, 45, 74, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 154, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 154, 60, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(200, 154, 60, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #C89A3C;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(200, 154, 60, 0.2);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.service-card p {
    font-size: 14px;
    color: #8A9BA8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: #C89A3C;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    letter-spacing: 1px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    padding: 80px 0;
    background: rgba(17, 31, 53, 0.3);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: #C8D0D8;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: #fff;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #E8EDF2;
}

.about-feature i {
    color: #C89A3C;
    font-size: 18px;
}

.about-image-placeholder {
    background: linear-gradient(135deg, rgba(200, 154, 60, 0.08), rgba(26, 45, 74, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder i {
    font-size: 64px;
    color: #C89A3C;
    margin-bottom: 20px;
    opacity: 0.6;
}

.about-image-placeholder span {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.advantages-grid.small-grid {
    grid-template-columns: repeat(4, 1fr);
}

.advantage-item {
    background: rgba(26, 45, 74, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    border-color: rgba(200, 154, 60, 0.15);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    background: rgba(200, 154, 60, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #C89A3C;
}

.advantage-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.advantage-item p {
    font-size: 14px;
    color: #8A9BA8;
    line-height: 1.6;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(200, 154, 60, 0.08), rgba(26, 45, 74, 0.3));
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-small {
    padding: 50px 0;
}

.cta-content h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    color: #8A9BA8;
    margin: 12px 0 28px;
}

/* ============================================================
   PAGE HERO (внутренние страницы)
   ============================================================ */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0A1628 40%, rgba(26, 45, 74, 0.3));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.page-hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
}

.page-hero-content p {
    font-size: 18px;
    color: #8A9BA8;
    margin-top: 8px;
}

/* ============================================================
   PAGE CONTENT (внутренние страницы)
   ============================================================ */
.page-content {
    padding: 60px 0 80px;
}

.content-block .lead {
    font-size: 20px;
    color: #E8EDF2;
    line-height: 1.8;
    margin-bottom: 32px;
}

.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 32px 0;
}

.content-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.content-text p {
    color: #C8D0D8;
    line-height: 1.8;
}

.content-text p strong {
    color: #fff;
}

.content-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 20px;
}

/* ---- Feature Cards ---- */
.content-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: rgba(26, 45, 74, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-card i {
    font-size: 28px;
    color: #C89A3C;
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 14px;
    color: #8A9BA8;
    line-height: 1.6;
}

/* ---- Info Box ---- */
.info-box {
    background: rgba(26, 45, 74, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 24px 0;
}

.info-box i {
    font-size: 40px;
    color: #C89A3C;
    flex-shrink: 0;
}

.info-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.info-box p {
    color: #C8D0D8;
    line-height: 1.8;
}

.info-box-gold {
    border-color: rgba(200, 154, 60, 0.2);
    background: rgba(200, 154, 60, 0.06);
}

/* ---- Duties ---- */
.duties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin: 20px 0 32px;
}

.duties-grid.two-col {
    grid-template-columns: 1fr 1fr;
}

.duty-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 45, 74, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    color: #C8D0D8;
}

.duty-item i {
    color: #C89A3C;
    font-size: 18px;
    flex-shrink: 0;
}

/* ============================================================
   CONTACTS PAGE
   ============================================================ */
.contacts-page {
    padding: 60px 0 80px;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(26, 45, 74, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 154, 60, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #C89A3C;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.contact-card p {
    color: #C8D0D8;
    line-height: 1.6;
}

.contact-card a {
    color: #C89A3C;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #E8C86A;
}

.contact-note {
    font-size: 13px;
    color: #8A9BA8;
}

/* ---- Contacts Form ---- */
.contacts-form-wrapper {
    background: rgba(26, 45, 74, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 40px 36px;
}

.contacts-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.form-desc {
    color: #8A9BA8;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #E8EDF2;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C89A3C;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5A6A7A;
}

.form-agreement {
    font-size: 12px;
    color: #5A6A7A;
    text-align: center;
    margin-top: 14px;
}

/* ---- Map ---- */
.map-wrapper {
    margin-top: 40px;
}

.map-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.map-container iframe {
    display: block;
    min-height: 350px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 60px 0 30px;
    background: rgba(6, 14, 26, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-desc {
    font-size: 14px;
    color: #8A9BA8;
    margin-top: 14px;
    line-height: 1.8;
    max-width: 340px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-menu ul li {
    margin-bottom: 8px;
}

.footer-menu ul li a {
    font-size: 14px;
    color: #8A9BA8;
    transition: color 0.3s;
}

.footer-menu ul li a:hover {
    color: #fff;
}

.footer-contacts p {
    font-size: 14px;
    color: #8A9BA8;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.footer-contacts p i {
    color: #C89A3C;
    width: 20px;
    flex-shrink: 0;
}

.footer-contacts a {
    color: #C89A3C;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: #E8C86A;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 13px;
    color: #5A6A7A;
}

.footer-license {
    color: #C89A3C !important;
    font-weight: 500;
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #C89A3C, #E8C86A);
    border: none;
    border-radius: 50%;
    color: #0A1628;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(200, 154, 60, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(200, 154, 60, 0.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: #0A1628;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        padding: 80px 30px 30px;
        transition: right 0.4s ease;
        overflow-y: auto;
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-list a {
        padding: 12px 18px;
        font-size: 16px;
        width: 100%;
    }

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

    .content-grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .duties-grid {
        grid-template-columns: 1fr 1fr;
    }

    .duties-grid.two-col {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-title-main {
        font-size: 28px;
    }

    .hero-title-bottom {
        font-size: 18px;
        min-height: 36px;
    }

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

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

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .contacts-form-wrapper {
        padding: 24px 20px;
    }

    .page-hero {
        padding: 120px 0 40px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .duties-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-img {
    height: 48px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        max-width: 40px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 34px;
        max-width: 34px;
    }
}
/* ============================================================
   SERVICES SHOWCASE (как на скриншоте)
   ============================================================ */
.services-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.services-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services-column.right {
    text-align: right;
}

.service-showcase-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(26, 45, 74, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.service-showcase-item:hover {
    border-color: rgba(200, 154, 60, 0.3);
    transform: translateX(4px);
    background: rgba(200, 154, 60, 0.06);
}

.services-column.right .service-showcase-item:hover {
    transform: translateX(-4px);
}

.service-number {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #C89A3C;
    flex-shrink: 0;
    min-width: 40px;
    opacity: 0.7;
}

.service-showcase-text {
    font-size: 15px;
    font-weight: 500;
    color: #E8EDF2;
    line-height: 1.4;
}

.services-column.right .service-showcase-item {
    flex-direction: row-reverse;
}

.services-column.right .service-showcase-text {
    text-align: right;
}

/* ---- Логотип в центре ---- */
.services-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.services-logo-big {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(200, 154, 60, 0.15));
    transition: all 0.4s ease;
}

.services-logo-big:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(200, 154, 60, 0.25));
}

/* ============================================================
   АДАПТИВ ДЛЯ НОВОГО БЛОКА
   ============================================================ */
@media (max-width: 1024px) {
    .services-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .services-center {
        grid-column: span 2;
        order: 3;
        padding: 30px 0 10px;
    }

    .services-logo-big {
        max-width: 140px;
    }

    .services-column.right .service-showcase-item {
        flex-direction: row;
    }

    .services-column.right .service-showcase-text {
        text-align: left;
    }

    .services-column.right .service-showcase-item:hover {
        transform: translateX(4px);
    }
}

@media (max-width: 768px) {
    .services-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-center {
        grid-column: span 1;
        order: 0;
        padding: 10px 0 20px;
    }

    .services-logo-big {
        max-width: 120px;
    }

    .service-showcase-item {
        padding: 14px 16px;
    }

    .service-number {
        font-size: 22px;
        min-width: 32px;
    }

    .service-showcase-text {
        font-size: 14px;
    }

    .services-column.right .service-showcase-item {
        flex-direction: row;
    }

    .services-column.right .service-showcase-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .service-showcase-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .service-number {
        font-size: 18px;
        min-width: 28px;
    }

    .service-showcase-text {
        font-size: 13px;
    }

    .services-logo-big {
        max-width: 100px;
    }
}
/* ============================================================
   CONTACTS PREVIEW (перед футером)
   ============================================================ */
.contacts-preview {
    padding: 80px 0 60px;
    background: rgba(17, 31, 53, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.contacts-preview-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 16px;
}

.contacts-preview-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-preview-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(26, 45, 74, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.contact-preview-item:hover {
    border-color: rgba(200, 154, 60, 0.15);
    background: rgba(26, 45, 74, 0.5);
}

.contact-preview-icon {
    width: 42px;
    height: 42px;
    background: rgba(200, 154, 60, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #C89A3C;
    flex-shrink: 0;
}

.contact-preview-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #8A9BA8;
    margin-bottom: 2px;
}

.contact-preview-item p {
    font-size: 15px;
    color: #E8EDF2;
    line-height: 1.5;
}

.contact-preview-item a {
    color: #C89A3C;
    transition: color 0.3s;
}

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

.contacts-preview-map {
    min-height: 300px;
}

.contacts-preview-map iframe {
    min-height: 300px;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 768px) {
    .contacts-preview-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts-preview-map {
        min-height: 250px;
        order: -1;
    }

    .contacts-preview-map iframe {
        min-height: 250px;
    }

    .contacts-preview {
        padding: 50px 0 40px;
    }

    .contact-preview-item {
        padding: 14px 16px;
    }

    .contact-preview-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contacts-preview-map {
        min-height: 200px;
    }

    .contacts-preview-map iframe {
        min-height: 200px;
    }
}
/* ============================================================
   LICENSE LINK
   ============================================================ */
.license-link {
    color: #C89A3C;
    text-decoration: none;
    border-bottom: 1px solid rgba(200, 154, 60, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.license-link:hover {
    color: #E8C86A;
    border-bottom-color: #E8C86A;
}

/* Для футера */
.footer-license .license-link {
    color: #C89A3C;
    border-bottom: 1px solid rgba(200, 154, 60, 0.2);
}

.footer-license .license-link:hover {
    color: #E8C86A;
    border-bottom-color: #E8C86A;
}

/* Для contact-card */
.contact-card .license-link {
    color: #C89A3C;
    border-bottom: 1px solid rgba(200, 154, 60, 0.2);
}

.contact-card .license-link:hover {
    color: #E8C86A;
    border-bottom-color: #E8C86A;
}
/* ============================================================
   THANKS / БЛАГОДАРНОСТИ
   ============================================================ */
.thanks {
    padding: 70px 0 80px;
    background: rgba(17, 31, 53, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== СЕТКА С ЦЕНТРИРОВАНИЕМ ===== */
.thanks-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}

/* ===== КАЖДАЯ БЛАГОДАРНОСТЬ ===== */
.thanks-item {
    position: relative;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
    width: 160px;        /* ≈ 4 см при стандартном DPI */
    height: 120px;       /* ≈ 3 см при стандартном DPI */
    flex-shrink: 0;
    background: rgba(26, 45, 74, 0.3);
}

.thanks-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.thanks-item:hover {
    border-color: rgba(200, 154, 60, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

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

/* ===== ОВЕРЛЕЙ ПРИ НАВЕДЕНИИ ===== */
.thanks-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
}

.thanks-item:hover .thanks-overlay {
    opacity: 1;
}

.thanks-overlay i {
    font-size: 28px;
    color: #C89A3C;
}

.thanks-overlay span {
    font-size: 11px;
    font-weight: 500;
    color: #E8EDF2;
}
/* ============================================================
   МОДАЛЬНОЕ ОКНО
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
    animation: modalZoom 0.4s ease;
}

@keyframes modalZoom {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: -10px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(200, 154, 60, 0.2);
    border-color: #C89A3C;
    transform: rotate(90deg);
}

/* ============================================================
   АДАПТИВ ДЛЯ БЛОКА БЛАГОДАРНОСТЕЙ
   ============================================================ */
@media (max-width: 768px) {
    .thanks {
        padding: 50px 0 60px;
    }

    .thanks-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .thanks-item {
        aspect-ratio: 4 / 3;
    }

    .thanks-overlay i {
        font-size: 24px;
    }

    .thanks-overlay span {
        font-size: 11px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-content img {
        max-width: 95vw;
        max-height: 85vh;
    }

    .modal-close {
        top: -44px;
        right: -5px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .thanks-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .thanks-item {
        aspect-ratio: 1 / 1;
    }

    .thanks-overlay span {
        display: none;
    }

    .thanks-overlay i {
        font-size: 28px;
    }
}
/* ============================================================
   HERO BACKGROUND IMAGE
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 40px;
}

/* Фоновая картинка */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/banner.jpg') center center / cover no-repeat;
    z-index: 0;
}

/* Затемнение поверх картинки */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(10, 22, 40, 0.5), rgba(10, 22, 40, 0.85) 70%);
    z-index: 1;
}

/* Canvas поверх картинки */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

/* Контент поверх всего */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}