/* === Font === */
@font-face {
    font-family: 'Via Appia';
    src: url('fonts/Via Appia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* === Variables === */
:root {
    --bg-dark: #0d0d0d;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;

    --silver: #c0c0c0;
    --silver-light: #e8e8e8;
    --silver-dark: #8a8a8a;

    --burgundy: #b0b0b0;
    --burgundy-light: #d6d6d6;
    --burgundy-dark: #787878;

    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;

    --border-color: #2a2a2a;

    --font-main: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, #707070, #b0b0b0, #e0e0e0, #b0b0b0);
    color: #1a1a1a;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0, #707070, #b0b0b0);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
}

.btn-secondary {
    background: #5ba4b5;
    color: #1a1a1a;
    border: none;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #6db5c6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 164, 181, 0.3);
    color: #1a1a1a;
}

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

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    margin-left: -10px;
}

.logo-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-text {
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.logo-number {
    font-size: 52px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 9px;
    margin-right: -9px;
}

.logo-divider {
    width: 2px;
    height: 58px;
    background: #5ba4b5;
}

.logo-right {
    display: flex;
    flex-direction: column;
    font-size: 19px;
    color: #5ba4b5;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--silver);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--text-primary);
}

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

.nav a.nav-highlight {
    color: var(--text-primary);
    font-weight: 700;
}

.nav a.nav-highlight::after {
    width: 0;
    background: #5ba4b5;
}

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

.header-phone {
    color: var(--silver);
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid #5ba4b5;
    padding-bottom: 4px;
}

.header-phone:hover {
    color: #ffffff;
    background: #5ba4b5;
    padding: 8px 16px;
    border-radius: 6px;
    border-bottom: none;
    margin: -8px -16px -8px 0;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-telegram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #229ED9, #1DA1F2);
    border-radius: 8px;
    transition: var(--transition);
}

.header-telegram svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.header-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 158, 217, 0.4);
}

.header-max {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00D4FF, #7B61FF, #C850C0);
    border-radius: 8px;
    transition: var(--transition);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.header-max:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.4);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--silver);
    transition: var(--transition);
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 0%, rgba(192, 192, 192, 0.7) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-logo-image {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
}

.hero-logo-image img {
    height: 100%;
    width: auto;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 60%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.hero-logo-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.hero-logo-text {
    font-size: 28px;
    color: var(--silver-light);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-logo-number {
    font-size: 100px;
    font-weight: 700;
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #808080, #c0c0c0, #e8e8e8, #f5f5f5, #e8e8e8, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.hero-logo-divider {
    width: 2px;
    height: 100px;
    background: #5ba4b5;
    flex-shrink: 0;
}

.hero-logo-right {
    display: flex;
    flex-direction: column;
    font-size: 32px;
    color: #5ba4b5;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #5ba4b5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-tags-divider {
    width: 1px;
    height: 16px;
    background: var(--silver-dark);
    flex-shrink: 0;
}

.hero-slogan {
    margin-bottom: 50px;
    text-align: right;
}

.hero-slogan p {
    font-size: 64px;
    font-weight: 700;
    color: var(--silver-light);
    line-height: 1.3;
    letter-spacing: 1px;
    white-space: nowrap;
}

.slogan-accent {
    color: #5ba4b5;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--silver);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-tags-mobile {
    display: none;
}

.hero-nav-mobile {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

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

.phone-label {
    color: var(--text-muted);
    font-size: 14px;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--silver-light);
    letter-spacing: 2px;
}

.phone-number:hover {
    color: var(--text-primary);
}

/* === Section Title === */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8, #f5f5f5, #e8e8e8, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .accent {
    -webkit-text-fill-color: transparent;
}

/* === Partners === */
.partners {
    padding: 80px 0;
    background: var(--bg-darker);
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80'%3E%3Ctext x='10' y='30' font-family='Georgia,Times New Roman,serif' font-size='18' font-weight='700' fill='%235ba4b5' opacity='0.25'%3EXII%3C/text%3E%3Ctext x='70' y='65' font-family='Georgia,Times New Roman,serif' font-size='18' font-weight='700' fill='%235ba4b5' opacity='0.25'%3EXII%3C/text%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.partners::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 120px;
    background: #5ba4b5;
    z-index: 2;
}

.contacts::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 120px;
    background: #5ba4b5;
    z-index: 2;
}

.partners > .container {
    position: relative;
    z-index: 1;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.partner-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.partner-card:hover {
    border-color: #5ba4b5;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(91, 164, 181, 0.2);
}

.partner-photo {
    width: 250px;
    min-height: 320px;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
    flex-shrink: 0;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    gap: 10px;
}

.photo-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

.photo-placeholder span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.partner-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.partner-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partner-title {
    color: var(--burgundy-light);
    font-weight: 500;
    margin-bottom: 10px;
}

.partner-experience {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.partner-experience strong {
    color: var(--silver);
}

.partner-specialization h4 {
    color: var(--silver);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.partner-specialization ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.partner-specialization li {
    color: var(--text-secondary);
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}

.partner-specialization li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--burgundy);
    border-radius: 50%;
}

/* === Stats === */
.stats {
    padding: 60px 0;
    background: #ffffff;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stats-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 30px;
    font-style: italic;
}

/* === Services === */
.services {
    padding: 80px 0;
    background: radial-gradient(ellipse at 50% -5%, rgba(192,192,192,0.07), transparent 55%), #0d0d0d;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    width: 100%;
    height: 80%;
    background: url('images/XII.png') no-repeat left center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.services > .container {
    position: relative;
    z-index: 1;
}

.service-block {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: linear-gradient(135deg, #3a3a3a, #5a5a5a, #7a7a7a, #5a5a5a, #3a3a3a);
    border-radius: 8px;
}

.service-header:hover {
    background: linear-gradient(135deg, #4a4a4a, #6a6a6a, #8a8a8a, #6a6a6a, #4a4a4a);
}

.service-header.active {
    background: linear-gradient(135deg, #4a4a4a, #6a6a6a, #8a8a8a, #6a6a6a, #4a4a4a);
    border-bottom: 1px solid var(--border-color);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #707070, #b0b0b0, #d6d6d6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--text-primary);
}

.service-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    flex-grow: 1;
    letter-spacing: 0.02em;
}

.service-intro {
    display: none;
    color: var(--text-secondary);
    font-size: 14px;
    flex: 2;
}

.toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--silver);
    transition: var(--transition);
}

.toggle-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.toggle-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.service-header.active .toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.service-content {
    display: none;
    padding: 30px;
    background: var(--bg-darker);
}

.service-content.active {
    display: block;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--burgundy);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--silver-dark);
    transform: translateY(-3px);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #707070, #b0b0b0, #e0e0e0, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-card.highlight {
    border-left: 3px solid var(--burgundy);
}

.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.service-card li.accent-item {
    color: #5ba4b5;
}

.service-card li.accent-item::before {
    background: #5ba4b5;
}

.service-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--silver);
    border-radius: 50%;
}

/* === Contacts === */
.contacts {
    padding: 80px 0;
    background: var(--bg-darker);
    position: relative;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--silver);
}

.contact-text h4 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-text a,
.contact-text p {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-text a:hover {
    color: var(--silver);
}

.location-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.location-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    background: var(--bg-card);
    border-radius: 8px;
    border-left: 3px solid var(--silver-dark);
    transition: var(--transition);
}

.location-item:hover {
    border-left-color: var(--silver-light);
    background: var(--bg-card-hover);
}

.location-city {
    font-size: 15px;
    font-weight: 700;
    color: var(--silver-light);
    letter-spacing: 0.5px;
}

.location-address {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
    word-break: break-word;
}

.location-remote {
    border-left-color: #229ED9;
}

.location-remote:hover {
    border-left-color: #1DA1F2;
}

.telegram-icon {
    background: linear-gradient(135deg, #229ED9, #1DA1F2);
    border: none;
}

.telegram-icon svg {
    fill: #fff;
}

.telegram-hint {
    font-size: 14px !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    margin-top: 4px;
}

.max-icon {
    background: linear-gradient(135deg, #00D4FF, #7B61FF, #C850C0);
    border: none;
}

.max-icon span {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.contact-cta {
    background: linear-gradient(135deg, #505050, #8a8a8a, #b0b0b0);
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-cta p {
    color: #2a2a2a;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-cta .btn {
    background: var(--text-primary);
    color: #1a1a1a;
}

.contact-cta .btn:hover {
    background: var(--silver);
    transform: translateY(-2px);
}

.cta-write-label {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.cta-messengers {
    display: flex;
    gap: 16px;
    margin: 0 auto 24px;
    max-width: 220px;
}

.cta-messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 52px;
    border-radius: 12px;
    transition: var(--transition);
}

.cta-messenger-icon:hover {
    transform: translateY(-3px);
}

.cta-telegram {
    background: linear-gradient(135deg, #229ED9, #1DA1F2);
}

.cta-telegram svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.cta-telegram:hover {
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.5);
}

.cta-max {
    background: linear-gradient(135deg, #00D4FF, #7B61FF, #C850C0);
}

.cta-max span {
    color: #fff;
    font-weight: 700;
    font-size: 22px;
}

.cta-max:hover {
    box-shadow: 0 8px 20px rgba(123, 97, 255, 0.5);
}

/* === Footer === */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    justify-content: center;
    margin-left: 0;
    margin-bottom: 15px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--silver);
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-telegram {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #229ED9, #1DA1F2);
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.footer-telegram svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.footer-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 158, 217, 0.4);
    color: #fff;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

/* === Tablet Responsive (769-1024px) === */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .hero-content {
        width: 80%;
    }

    .hero-slogan p {
        font-size: 42px;
        white-space: normal;
    }

    .hero-tags {
        font-size: 12px;
        gap: 10px;
    }

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

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

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

    .contact-cta {
        padding: 35px;
    }

    .service-intro {
        display: none !important;
    }

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

    .partner-card {
        flex-direction: column;
    }

    .partner-photo {
        width: 100%;
        min-height: 250px;
    }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
    .header-contacts {
        gap: 10px;
    }

    .header-telegram {
        width: 32px;
        height: 32px;
    }

    .header-telegram svg {
        width: 18px;
        height: 18px;
    }

    .header-max {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .logo {
        gap: 8px;
    }

    .logo-number {
        font-size: 36px;
        letter-spacing: 8px;
        margin-right: -8px;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .logo-divider {
        height: 40px;
        background: #ffffff;
    }

    .logo-right {
        font-size: 14px;
        color: #ffffff;
    }

    .hero-logo-image {
        opacity: 0.08;
    }

    .hero-content {
        width: 100%;
        align-items: center;
    }

    .hero-tags {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 12px;
        gap: 8px;
    }

    .hero-tags span:not(.hero-tags-mobile) {
        display: none;
    }

    .hero-tags .hero-tags-mobile {
        display: inline;
        color: #ffffff;
        font-size: 14px;
    }

    .hero-slogan {
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-slogan p {
        font-size: 28px;
        white-space: normal;
        color: #5ba4b5;
    }

    .hero-nav-mobile {
        display: flex;
        gap: 30px;
        margin-top: 10px;
    }

    .hero-nav-mobile a {
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .hero-nav-mobile a.hero-nav-highlight {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-logo-number {
        font-size: 70px;
    }

    .hero-logo-text {
        font-size: 20px;
        letter-spacing: 5px;
    }

    .hero-logo-divider {
        height: 70px;
    }

    .hero-logo-right {
        font-size: 22px;
    }

    .phone-number {
        font-size: 22px;
    }

    .stats {
        padding: 40px 0;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .stat-item {
        text-align: center;
    }

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

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

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

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

    .contact-cta {
        padding: 30px;
    }

    .service-header {
        padding: 20px;
    }

    .service-content {
        padding: 20px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .services::before {
        width: 300px;
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .hero-logo-image {
        display: none;
    }

    .hero-tags {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 11px;
        gap: 8px;
    }

    .hero-tags-divider {
        display: none;
    }

    .hero-nav-mobile {
        gap: 20px;
    }

    .hero-nav-mobile a {
        font-size: 12px;
    }

    .hero-logo {
        gap: 15px;
    }

    .hero-logo-number {
        font-size: 50px;
    }

    .hero-logo-text {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-logo-divider {
        height: 50px;
    }

    .hero-logo-right {
        display: none;
    }

    .hero-slogan p {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .partner-photo {
        min-height: 180px;
    }

    .partner-info {
        padding: 20px;
    }

    .partner-info h3 {
        font-size: 20px;
    }

    .stats-grid {
        gap: 24px 20px;
    }

    .stat-item {
        min-width: 100px;
    }

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

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

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

    .contact-cta {
        padding: 20px;
    }

    .contact-cta h3 {
        font-size: 22px;
    }

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

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 375px) {
    .logo-number {
        font-size: 36px;
    }

    .logo-text {
        font-size: 14px;
    }

    .hero-slogan p {
        font-size: 18px;
    }

    .hero-tags {
        font-size: 10px;
    }

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

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

    .stat-item {
        min-width: 80px;
    }

    .partner-photo {
        min-height: 150px;
    }

    .partner-info {
        padding: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.partner-card,
.service-block,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* === Mobile Navigation Active State === */
@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

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

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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