/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CustomHeading';
    src: url('Заголовок.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CustomText';
    src: url('Текст.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-dark: #2a2420;
    --bg-darker: #1f1a16;
    --bg-card: #342d27;
    --accent-red: #c0392b;
    --text-white: #ffffff;
    --text-cream: #f5efe8;
    --text-muted: #b0a090;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'CustomText', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'CustomHeading', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(42, 36, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
}

.logo-subtitle {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-subtitle span {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: lowercase;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.3px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-search {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-search:hover {
    color: var(--text-white);
}

.btn-signup {
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-signup:hover {
    background: var(--text-cream);
    transform: scale(1.03);
}

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

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('1.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 36, 32, 0.7) 0%,
        rgba(42, 36, 32, 0.35) 50%,
        rgba(42, 36, 32, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 72px;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.hero-left {
    max-width: 680px;
}

.hero-small-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 86px;
    font-weight: 800;
    line-height: 0.95;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 8px;
    transition: opacity 0.5s ease;
    white-space: nowrap;
}

.hero-title.fade-out {
    opacity: 0;
}

.hero-title.fade-in {
    opacity: 1;
}

.hero-title-outline {
    font-size: 96px;
    font-weight: 800;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 40px;
    min-height: 173px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-cream);
    line-height: 1.8;
    max-width: 480px;
    opacity: 0.85;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    padding-top: 40px;
    max-width: 280px;
}

.hero-cta-label {
    font-size: 16px;
    color: var(--text-cream);
    line-height: 1.6;
    text-align: justify;
    text-align-last: center;
    width: 100%;
    margin-bottom: 24px;
    opacity: 0.9;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-hero-cta::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-hero-cta:hover {
    background: var(--text-cream);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.btn-hero-cta:hover::after {
    transform: translateX(5px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

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

/* ==================== SECTIONS ==================== */
section {
    padding: 90px 0;
}

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

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    letter-spacing: 0.3px;
}

/* ==================== SERVICES ==================== */
.services {
    background: var(--bg-darker);
}

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

.service-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.05);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(42, 36, 32, 0.92) 0%,
        rgba(42, 36, 32, 0.45) 50%,
        rgba(42, 36, 32, 0.25) 100%
    );
    z-index: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 30px 28px;
    text-align: center;
    width: 100%;
}

.service-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-cream);
    line-height: 1.6;
    opacity: 0.95;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ==================== EQUIPMENT ==================== */
.equipment {
    background: var(--bg-dark);
}

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

.equipment-list {
    list-style: none;
    margin-bottom: 40px;
}

.equipment-list li {
    font-size: 16px;
    color: var(--text-cream);
    margin-bottom: 20px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    opacity: 0.9;
}

.equipment-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 50%;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-outline:hover {
    background: var(--text-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
}

.equipment-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

/* ==================== ADVANTAGES ==================== */
.advantages {
    background: var(--bg-darker);
}

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

.advantage-card {
    padding: 40px 30px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.advantage-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--accent-red);
    opacity: 0.25;
    margin-bottom: 20px;
    line-height: 1;
    font-family: 'CustomHeading', sans-serif;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.advantage-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== PROCESS ==================== */
.process {
    background: var(--bg-dark);
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--border-subtle);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.process-step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    margin: 0 auto 28px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    font-family: 'CustomHeading', sans-serif;
}

.process-step:hover .process-step-num {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.process-step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.process-step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== CTA ==================== */
.cta {
    background: var(--bg-darker);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    padding: 20px 50px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-cta:hover {
    background: var(--text-cream);
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(255, 255, 255, 0.12);
}

/* ==================== CONTACT ==================== */
.contact {
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

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

.contact-icon-wrap img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.7;
}

.contact-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-card);
    color: var(--text-white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(35, 29, 22, 0.8);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    background: var(--text-white);
    color: var(--bg-dark);
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.btn-submit:hover {
    background: var(--text-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #181412;
    padding: 80px 0 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-requisites {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
    line-height: 1.8;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-links a:hover {
    color: var(--text-white);
    opacity: 1;
}

.footer-links span {
    color: var(--text-muted);
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-policy {
    margin-top: 8px;
}

.footer-policy a {
    color: var(--text-muted);
    text-decoration: underline;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-policy a:hover {
    color: var(--text-white);
    opacity: 1;
}

.footer-bottom-col {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.5;
}

.footer-bottom-col .footer-policy {
    margin-top: 8px;
}

.footer-bottom-col .footer-policy a {
    color: var(--text-muted);
    text-decoration: underline;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-bottom-col .footer-policy a:hover {
    color: var(--text-white);
    opacity: 1;
}

/* ==================== MESSENGERS ==================== */
.messenger-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1000;
}

.messenger-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.messenger-btn:hover {
    transform: translateY(-4px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.messenger-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: 'CustomHeading', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

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

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--text-white);
    border-radius: 2px;
    animation: preloaderFill 1.8s ease-in-out forwards;
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==================== HONEYPOT ==================== */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    z-index: -1;
}

/* ==================== BUTTON GLOW ==================== */
.btn-hero-cta,
.btn-outline,
.btn-submit,
.btn-cta {
    position: relative;
}

.btn-hero-cta::before,
.btn-outline::before,
.btn-submit::before,
.btn-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(12px);
}

.btn-hero-cta:hover::before,
.btn-outline:hover::before,
.btn-submit:hover::before,
.btn-cta:hover::before {
    opacity: 1;
}

/* ==================== GRADIENT BORDERS ==================== */
.advantage-card {
    background: var(--bg-card);
    border: none;
    position: relative;
}

.advantage-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition);
}

.advantage-card:hover::after {
    background: linear-gradient(135deg, var(--accent-red), rgba(255,255,255,0.1));
}

/* ==================== TYPING ANIMATION ==================== */
.hero-type-wrapper {
    display: inline;
}

.hero-type-text {
    display: inline;
    border-right: 3px solid var(--text-white);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==================== FAQ ==================== */
.faq {
    background: var(--bg-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item.active {
    border-color: rgba(192, 57, 43, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    color: var(--text-cream);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== MOBILE CTA ==================== */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 12px 16px;
    gap: 10px;
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-subtle);
}

.mobile-cta-phone,
.mobile-cta-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.mobile-cta-phone {
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-subtle);
}

.mobile-cta-form {
    background: var(--text-white);
    color: var(--bg-dark);
}

.mobile-cta-phone:hover,
.mobile-cta-form:hover {
    transform: translateY(-1px);
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.modal-content {
    padding: 40px 36px;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.modal-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: var(--text-muted);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.modal-form textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-form .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.form-consent {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
    line-height: 1.5;
    text-align: center;
    margin-top: 4px;
}

.form-consent a {
    color: var(--text-muted);
    text-decoration: underline;
}

.form-consent a:hover {
    color: var(--text-white);
}

/* ==================== POLICY MODAL ==================== */
.modal-policy {
    max-width: 640px;
    max-height: 80vh;
}

.modal-policy .modal-content {
    overflow-y: auto;
    max-height: 70vh;
}

.policy-content h4 {
    font-family: 'CustomHeading', sans-serif;
    font-size: 18px;
    color: var(--text-white);
    margin: 24px 0 10px;
    letter-spacing: 0.5px;
}

.policy-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.policy-content ul li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 6px;
}

.policy-date {
    margin-top: 24px;
    opacity: 0.6;
    font-size: 12px;
}

/* ==================== COOKIE BAR ==================== */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(10px);
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 700px;
}

.cookie-text a {
    color: var(--text-cream);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background: var(--text-white);
    color: var(--bg-dark);
}

.cookie-btn-accept:hover {
    background: var(--text-cream);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.cookie-btn-decline:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
    .cookie-bar {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px;
    }

    .hero-title-outline {
        font-size: 68px;
        min-height: 122px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero-right {
        align-items: center;
        text-align: center;
        max-width: 320px;
    }

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

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

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

    .process-steps::before {
        display: none;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header {
        padding: 0 24px;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(42, 36, 32, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 60px;
        gap: 8px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-right {
        display: none;
    }

    .burger {
        display: flex;
    }

    .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-title {
        font-size: 42px;
    }

    .hero-title-outline {
        font-size: 48px;
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
        min-height: 86px;
    }

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

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

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

    .process-steps {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bottom-col {
        padding-top: 0;
    }

    .footer-bottom-col p {
        margin: 0;
    }



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

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .hero-title-outline {
        font-size: 36px;
        letter-spacing: 3px;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
        min-height: 65px;
    }

    .hero-bg {
        transform: none !important;
    }

    .hero-scroll {
        display: none;
    }

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

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

    .btn-signup {
        padding: 8px 18px;
        font-size: 12px;
    }

    .mobile-cta {
        display: flex;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }

    .mobile-cta.scrolled-past-hero {
        opacity: 1;
        pointer-events: auto;
    }

    .messenger-buttons {
        bottom: 120px;
        right: 20px;
        opacity: 0;
        transition: opacity 0.5s ease;
        pointer-events: none;
    }

    .messenger-buttons.scrolled-past-hero {
        opacity: 1;
        pointer-events: auto;
    }

    .messenger-btn {
        width: 50px;
        height: 50px;
    }

    .messenger-icon {
        width: 24px;
        height: 24px;
    }

    .back-to-top {
        bottom: 120px;
        left: 20px;
        width: 42px;
        height: 42px;
    }
}
