@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');

:root {
    --primary: #ff8c00;
    --primary-light: #ffaa33;
    --primary-glow: rgba(255, 140, 0, 0.4);
    --bg-dark: #0f1115;
    --bg-darker: #08090b;
    --surface: #1a1d23;
    --text: #ffffff;
    --text-muted: #b0b8c4;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --transition: 0.5s cubic-bezier(0.2, 0, 0, 1);
}

/* Lead form popup */
body.lead-popup-open {
    overflow: hidden;
}

body.lead-popup-open .marquiz-widget {
    visibility: hidden !important;
}

.lead-popup[hidden] {
    display: none;
}

.lead-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.lead-popup.is-open {
    opacity: 1;
}

.lead-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 5, 0.82);
    backdrop-filter: blur(8px);
}

.lead-popup__dialog {
    position: relative;
    width: min(100%, 570px);
    max-height: calc(100svh - 2.5rem);
    overflow-y: auto;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    background: linear-gradient(145deg, #1a1d23 0%, #111318 100%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62), 0 0 45px rgba(255, 140, 0, 0.08);
    transform: translateY(18px) scale(0.985);
    transition: transform 0.22s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 140, 0, 0.55) transparent;
}

.lead-popup__dialog::-webkit-scrollbar {
    width: 6px;
}

.lead-popup__dialog::-webkit-scrollbar-track {
    background: transparent;
}

.lead-popup__dialog::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(255, 140, 0, 0.55);
}

.lead-popup.is-open .lead-popup__dialog {
    transform: translateY(0) scale(1);
}

.lead-popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font: inherit;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.lead-popup__close:hover {
    border-color: var(--primary);
    color: var(--text);
}

.lead-popup h2 {
    margin: 0 3.5rem 0.7rem 0;
    font-size: clamp(1.7rem, 5vw, 2.25rem);
    line-height: 1.12;
}

.lead-popup__intro {
    margin-bottom: 1.6rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.lead-popup__form {
    display: grid;
    gap: 1rem;
}

.lead-popup__field {
    display: grid;
    gap: 0.45rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.lead-popup__field input,
.lead-popup__field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font: inherit;
    font-weight: 400;
    padding: 0.9rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-popup__field textarea {
    min-height: 105px;
    resize: vertical;
}

.lead-popup__field input::placeholder,
.lead-popup__field textarea::placeholder {
    color: #7e8794;
}

.lead-popup__field input:focus,
.lead-popup__field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.14);
}

.lead-popup__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.lead-popup__consent input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--primary);
}

.lead-popup__consent a,
.lead-popup__error a {
    color: var(--primary-light);
    text-decoration: underline;
}

.lead-popup__error {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 92, 92, 0.4);
    border-radius: 10px;
    background: rgba(255, 92, 92, 0.1);
    color: #ffd0d0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.lead-popup__error[hidden] {
    display: none;
}

.lead-popup__submit {
    width: 100%;
    margin-top: 0.25rem;
}

.lead-popup__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .lead-popup {
        align-items: end;
        padding: 0;
    }

    .lead-popup__dialog {
        width: 100%;
        max-height: calc(100svh - 0.5rem);
        padding: 1.5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0;
    }

    .lead-popup__close {
        top: 0.9rem;
        right: 0.9rem;
    }

    .lead-popup h2 {
        font-size: 1.75rem;
    }

    .lead-popup__intro {
        margin-bottom: 1.15rem;
        font-size: 0.92rem;
    }

    .lead-popup__form {
        gap: 0.8rem;
    }

    .lead-popup__field input,
    .lead-popup__field textarea {
        padding: 0.82rem 0.9rem;
    }

    .lead-popup__field textarea {
        min-height: 82px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    overflow-x: hidden;
    max-width: 100%;
}

[id] {
    scroll-margin-top: 110px;
}

body {
    font-family: 'Golos Text', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
}

p, li { text-wrap: pretty; }

.thank-you-page {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 150px 1rem 90px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 140, 0, 0.13), transparent 38%),
        var(--bg-dark);
}

.thank-you-card {
    width: min(720px, 100%);
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
    background: rgba(26, 29, 35, 0.92);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.thank-you-icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2.4rem;
    font-weight: 700;
    box-shadow: 0 0 35px var(--primary-glow);
}

.thank-you-card h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 1rem;
}

.thank-you-card p {
    max-width: 560px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    width: auto;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }

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

input, textarea, button {
    font-family: inherit;
}

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

.section {
    padding: 100px 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(8, 9, 11, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(8, 9, 11, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.55rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.8vw, 2rem);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 54px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: clamp(1rem, 1.7vw, 2rem);
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.nav-links a[href*="produkciya"] {
    color: var(--primary);
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-glow);
}

.contact-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.contact-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    flex-shrink: 0;
    line-height: 1.25;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.header-phone:hover,
.header-email:hover {
    color: var(--primary);
}

.header-contact-meta {
    display: flex;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    white-space: nowrap;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: visible;
    background-attachment: fixed !important;
}

.hero-home {
    min-height: 720px;
    height: 100vh;
    max-height: 860px;
    padding: 140px 0 70px;
    background-attachment: scroll !important;
    background-image:
        linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 43%, rgba(8, 9, 11, 0.24) 73%, rgba(8, 9, 11, 0.18) 100%),
        linear-gradient(0deg, rgba(8, 9, 11, 0.88) 0%, transparent 42%),
        url('/assets/img/hero-v2.webp');
    background-size: cover;
    background-position: center;
}

.hero-home > .container {
    width: 100%;
    max-width: 1400px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
}

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

.hero-home h1 {
    font-size: clamp(2.7rem, 4.2vw, 3.7rem);
    max-width: 850px;
}

.hero h1 .hero-title-line {
    display: block;
    color: var(--text);
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 100%;
}

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

.hero h1 span {
    color: var(--primary);
}

.hero-p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-home .hero-btns .btn {
    min-width: 245px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    z-index: 5;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.vibrant-strip {
    background: linear-gradient(135deg, rgba(255,140,0,0.15) 0%, rgba(255,140,0,0.05) 100%);
    padding: 2.5rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-item {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.stat-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--primary-glow));
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) translateY(-5px);
    color: var(--primary-light);
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.hero-home .stat-num {
    font-size: clamp(1.45rem, 2vw, 2.15rem);
}

.production-proof {
    position: relative;
    z-index: 2;
    padding: 55px 0;
    background: var(--bg-darker);
}

.production-proof .stats {
    margin-top: 0;
}

.workflow-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 140, 0, 0.08), transparent 35%),
        var(--bg-dark);
}

.workflow-heading {
    max-width: 100%;
    margin-bottom: 2.5rem;
}

.workflow-heading h2 {
    white-space: nowrap;
}

.workflow-heading p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.workflow-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.workflow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.25rem;
    background: rgba(26, 29, 35, 0.86);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: visible;
}

.workflow-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 105px;
    right: -18px;
    z-index: 3;
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
}

.workflow-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.25rem 0.55rem;
    color: var(--primary);
    background: rgba(8, 9, 11, 0.82);
    border: 1px solid rgba(255, 140, 0, 0.35);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.workflow-illustration {
    width: 170px;
    height: 170px;
    margin: 0 auto 1rem;
    object-fit: cover;
    border-radius: 18px;
}

.workflow-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.workflow-step p {
    flex-grow: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-link {
    margin-top: 1rem;
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 700;
}

.workflow-link:hover {
    color: var(--primary-light);
}

.workflow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.industries-section { background: var(--surface); }

.equipment-section {
    background: var(--bg-darker);
}

.equipment-section .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.equipment-heading {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.equipment-heading p {
    color: var(--text-muted);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.equipment-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 1rem;
    min-height: 220px;
    padding: 2rem 2rem 1.75rem 0;
    border-bottom: 1px solid var(--border);
}

.equipment-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.equipment-item:nth-child(even) {
    padding-left: 2rem;
}

.equipment-number {
    color: var(--primary);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
}

.equipment-item h3 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.equipment-item strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.equipment-item p {
    max-width: 470px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.industries-heading {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.industries-heading p,
.industries-cta p { color: var(--text-muted); }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.industry-card {
    display: flex;
    flex-direction: column;
    min-height: 215px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
}

.industry-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.75rem;
}

.industry-details {
    flex-grow: 1;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.industry-alloys {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    font-size: 0.72rem;
}

.industry-alloys span {
    color: var(--primary);
    font-weight: 700;
}

.industry-alloys b {
    padding: 0.25rem 0.45rem;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    font-weight: 600;
}

.industries-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.25rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(255, 140, 0, 0.65);
    background: rgba(8, 9, 11, 0.32);
}

.industries-cta h3 { margin-bottom: 0.35rem; }

.industries-cta .btn {
    flex-shrink: 0;
    min-width: 250px;
    text-align: center;
}

.stat-num span {
    font-size: 1.1rem;
    opacity: 0.7;
    font-weight: 600;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 28px !important;
}

.services-grid .card {
    display: grid !important;
    grid-template-columns: 44% 56%;
    height: clamp(240px, calc((100vh - 230px) / 2), 305px);
}

.services-grid .card-img {
    height: 100%;
    min-height: 0;
}

.services-grid .card-img::after {
    background: linear-gradient(90deg, transparent 55%, var(--surface) 100%);
}

.services-grid .card-content {
    min-width: 0;
    padding: 1.1rem;
}

.services-grid .card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.services-grid .card-content p {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.8rem !important;
}

.services-grid .card-content .btn {
    padding: 0.7rem 1rem;
    border-radius: 9px;
    font-size: 0.9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--surface) 0%, transparent 100%);
}

.card-content {
    padding: 2rem;
}

.carousel-wrapper { position: relative; margin-bottom: 4rem; }
.carousel-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.5rem; padding: 1rem 0 2rem; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.carousel-container::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 320px; scroll-snap-align: start; transition: var(--transition); }
.carousel-item .card { height: 100%; margin: 0; }
.carousel-item:hover { transform: translateY(-5px); }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; color: white; transition: var(--transition); }
.carousel-nav:hover { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }
.carousel-nav.prev { left: -25px; }
.carousel-nav.next { right: -25px; }
@media (max-width: 1200px) { .carousel-nav { display: none; } .carousel-item { flex: 0 0 280px; } }

footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 6px;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hide-mobile { display: inline-block; }

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .nav-wrapper { gap: 1rem; }
    .logo img { height: 60px; }
    header.scrolled .logo img { height: 50px; }
    .nav-links { gap: 1rem; }
    .header-contact-meta { display: none; }
    .header-phone { font-size: 0.88rem; }
    .contact-button { padding: 0.7rem 1rem; }
    .services-grid .card { height: clamp(230px, calc((100vh - 230px) / 2), 285px); }
    .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workflow-step::after { display: none; }
    .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3, .stats, .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .footer-grid { gap: 2rem; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section[style*="padding-top: 180px"] { padding-top: 120px !important; }
    .container { padding: 0 1rem; }
    header { padding: 0.7rem 0; }
    header.scrolled { padding: 0.55rem 0; }
    .logo img,
    header.scrolled .logo img { height: 58px; }
    .menu-toggle {
        display: flex;
        margin-left: auto;
    }
    .hide-mobile { display: none; }
    .header-contacts { display: none; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: var(--bg-darker); flex-direction: column; justify-content: center;
        align-items: center; gap: 2rem; transition: 0.5s ease-in-out; z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    .nav-links li a { font-size: 1.2rem; }
    .nav-mobile-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        width: min(260px, 80%);
        padding-top: 1.2rem;
        margin-top: 0.4rem;
        border-top: 1px solid var(--border);
        color: var(--text-muted);
    }
    .nav-mobile-contact a {
        font-size: 0.95rem !important;
        font-weight: 600;
    }
    .nav-mobile-contact a:first-child {
        color: var(--primary);
        font-size: 1.05rem !important;
    }
    .nav-mobile-hours { font-size: 0.8rem; }
    .hero { height: auto; padding: 130px 0 70px; }
    .hero-home {
        min-height: 100svh;
        max-height: none;
        padding: 140px 0 70px;
        align-items: center;
    }
    .hero h1 .hero-title-line { display: inline; }
    .hero-home .hero-tag { font-size: 0.75rem; line-height: 1.35; margin-bottom: 1rem; }
    .hero-tag-full { display: none; }
    .hero-tag-mobile { display: inline; white-space: nowrap; }
    .hero-p { font-size: 1rem; margin-bottom: 1.6rem; }
    .production-proof { padding: 40px 0; }
    .stats { grid-template-columns: 1fr; margin-top: 50px; gap: 0.75rem; }
    .production-proof .vibrant-strip { padding: 1rem 0.75rem; border-radius: 20px; }
    .stat-item { padding: 0.85rem; }
    .stat-num,
    .hero-home .stat-num { font-size: 1.75rem; white-space: nowrap; }
    .stat-num span { font-size: 0.85rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid .card { grid-template-columns: 1fr; height: auto; }
    .services-grid .card-img { height: 210px; }
    .services-grid .card-img::after { background: linear-gradient(0deg, var(--surface) 0%, transparent 100%); }
    .services-grid .card-content { padding: 1rem; }
    .services-grid .card-content h3 { font-size: 0.84rem; white-space: nowrap; }
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-heading { margin-bottom: 2rem; }
    .workflow-heading h2 { font-size: clamp(1.05rem, 4.6vw, 1.2rem); white-space: nowrap; }
    .workflow-illustration { width: 150px; height: 150px; }
    .workflow-actions { flex-direction: column; }
    .workflow-actions .btn { width: 100%; text-align: center; }
    .industries-grid { grid-template-columns: 1fr; }
    .industries-heading { margin-bottom: 2rem; }
    .industries-heading h2 { font-size: 1.7rem; white-space: nowrap; }
    .industry-card { min-height: 0; padding: 1.2rem; }
    .industry-card h3 { font-size: 0.94rem; white-space: nowrap; }
    .industries-cta { flex-direction: column; align-items: stretch; }
    .industries-cta .btn { width: 100%; min-width: 0; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-heading h2 { font-size: clamp(1rem, 4.35vw, 1.12rem); white-space: nowrap; }
    .equipment-item,
    .equipment-item:nth-child(even) { padding: 1.5rem 0; }
    .equipment-item:nth-child(odd) { border-right: none; }
    .equipment-item h3 { font-size: 0.92rem; white-space: nowrap; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-col .logo { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-bottom > div { flex-direction: column; align-items: center; gap: 0.6rem !important; }
    .footer-bottom a { white-space: nowrap; }
    .card-img { height: 200px; }
    h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
    h2 { font-size: clamp(1.65rem, 7vw, 2rem); }

    .btn { padding: 0.85rem 1rem; font-size: 0.88rem; }

    div[style*="grid-template-columns: 1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    div[style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1.5rem !important;
    }

    div[style*="bottom: -30px"][style*="left: -30px"] {
        bottom: 1rem !important;
        left: 1rem !important;
        padding: 1.25rem !important;
    }

    div[style*="border-radius: 30px"][style*="padding: 3rem"] {
        padding: 1.35rem !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"] > *,
    div[style*="grid-template-columns: 1fr 1.2fr"] > * {
        min-width: 0 !important;
        width: 100% !important;
    }

    section#contact > div > div[style*="display: flex"] {
        flex-direction: column !important;
        text-align: center;
        padding: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
    .hero-home h1 { font-size: clamp(2rem, 9vw, 2.35rem); }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-home .hero-btns {
        position: relative;
        top: clamp(2.5rem, 8svh, 4.25rem);
    }
    .btn { width: 100%; text-align: center; }
    .section { padding: 40px 0; }
    .workflow-heading h2 { font-size: 0.98rem; }
    .equipment-heading h2 { font-size: 0.83rem; }
    .equipment-item h3 { font-size: 0.85rem; }
    .industries-heading h2 { font-size: 1.5rem; }
    .thank-you-page { padding: 115px 1rem 55px; }
    .thank-you-card { padding: 2rem 1.25rem; border-radius: 22px; }
    .thank-you-card h1 { font-size: 1.85rem; }
    .thank-you-actions { flex-direction: column; }
    .thank-you-actions .btn { width: 100%; }

    ul[style*="font-size: 0.8rem"][style*="margin-bottom: 2rem"] {
        gap: 0.4rem !important;
        white-space: nowrap;
    }

    ul[style*="font-size: 0.8rem"][style*="margin-bottom: 2rem"] > li:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }
}

@media (max-width: 768px) {

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}
