/* LASER BEND — Apple-style 2026 design system */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --graphite: #0B0B0C;
    --graphite-soft: #161618;
    --white: #FFFFFF;
    --muted: rgba(255, 255, 255, 0.62);
    --muted-dark: rgba(11, 11, 12, 0.55);
    --accent: #FF5722;
    --accent-hover: #ff6a3d;
    --accent-blue: #0071E3;
    --glass: rgba(22, 22, 24, 0.72);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-card: 22px;
    --radius-btn: 980px;
    --header-h: 72px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --surface: #161618;
    --surface-elevated: #1e1e22;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--graphite);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.page-home,
body.page-dark {
    background: var(--graphite);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 15% 20%, rgba(255, 87, 34, 0.07), transparent 55%),
        radial-gradient(ellipse 45% 35% at 85% 75%, rgba(0, 113, 227, 0.06), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
}

body > header,
body > section,
body > main,
body > footer {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* ——— Header (glass, fixed) — только шапка сайта, не блоки внутри main ——— */
body > header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(16px, 4vw, 40px);
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

body > header.is-scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: var(--header-h);
    gap: 0;
}

.nav-toggle {
    order: 0;
    flex-shrink: 0;
}

.logo {
    order: 2;
    margin-left: clamp(10px, 1.5vw, 18px);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px 7px;
    border-radius: 10px;
    background: #fff;
    line-height: 0;
    text-decoration: none;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.28);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.logo:hover {
    opacity: 0.96;
    transform: translateY(-1px);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.45),
        0 12px 28px rgba(0, 0, 0, 0.32);
}

.logo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.logo img {
    height: 32px;
    width: auto;
    max-width: 96px;
    display: block;
    object-fit: contain;
    transform: none;
    position: static;
    filter: none;
}

.page-home > header .navbar {
    display: flex;
    align-items: center;
    width: 100%;
}

.page-home > header .logo {
    position: static;
    transform: none;
    margin-left: clamp(12px, 2vw, 22px);
}

.page-home .logo img {
    filter: none;
    transform: none;
    position: static;
    top: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    order: 1;
    margin-left: auto;
    gap: clamp(8px, 2vw, 28px);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    opacity: 0.88;
    transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
    opacity: 1;
    color: var(--accent);
}

.nav-links a.is-active {
    position: relative;
}

.nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ——— Hero ——— */
.hero-carousel {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--graphite);
}

.hero-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(11, 11, 12, 0.94) 0%, rgba(11, 11, 12, 0.72) 42%, rgba(11, 11, 12, 0.35) 68%, rgba(11, 11, 12, 0.2) 100%),
        linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.2) 45%, rgba(11, 11, 12, 0.75) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-h) + 48px) clamp(20px, 5vw, 48px) 80px;
}

.hero-content,
.carousel-content.hero-content {
    background: transparent;
    border-radius: 0;
    max-width: 720px;
    padding: 0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.hero-content p,
.carousel-content.hero-content p {
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    justify-content: center;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    text-align: center;
}

.section-shell > .section-eyebrow,
.section-shell > h2 {
    text-align: center;
}

.section-shell > h2 {
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1,
.carousel-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-content p,
.carousel-content p {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(255, 87, 34, 0.35);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Legacy carousel (if backup index restored) */
.carousel-wrapper {
    display: flex;
    position: absolute;
    inset: 0;
    width: 600%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    z-index: 0;
}

.carousel-slide {
    width: 16.666%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ——— Home Bento ——— */
.home-highlights {
    padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 48px);
}

.page-home .home-highlights:not(.home-highlights--volume) {
    background: var(--graphite);
    border-top: 1px solid var(--glass-border);
}

.section-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.home-highlights h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--white);
}

@media (min-width: 900px) {
    .home-highlights h2 {
        max-width: 32ch;
        font-size: clamp(2rem, 3.2vw, 2.85rem);
    }

    .page-home .home-highlights--volume .bento-layout {
        gap: 20px;
    }

    .page-home .home-highlights--volume .bento-grid {
        gap: 20px;
    }

    .page-home .home-highlights--volume .bento-grid--home {
        grid-auto-rows: minmax(170px, auto);
    }

    .page-home .home-highlights--volume .bento-card {
        min-height: 168px;
        padding: 28px;
    }

    .page-home .home-highlights--volume .bento-card--stat {
        min-height: 140px;
        padding: 28px;
    }

    .process-steps--premium {
        gap: 22px;
    }

    .process-card {
        padding: 32px 22px 28px;
    }
}

.bento-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.bento-grid--home .bento-card {
    grid-column: span 4;
}

.bento-grid--stats .bento-card {
    grid-column: span 3;
}

.bento-grid--home {
    grid-auto-rows: minmax(150px, auto);
}

.bento-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border-radius: var(--radius-card);
    background: var(--graphite-soft);
    border: 1px solid var(--glass-border);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 55%);
    pointer-events: none;
}

.page-home .home-highlights--volume .bento-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.bento-card:hover {
    border-color: rgba(255, 87, 34, 0.35);
    box-shadow: var(--shadow-soft);
}

.bento-card--wide {
    grid-column: auto;
}

.bento-card--tall {
    grid-row: auto;
    min-height: 160px;
}

.bento-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: auto;
    letter-spacing: 0.05em;
}

.bento-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.bento-card--stat {
    background: var(--surface-elevated);
    color: var(--white);
    border-color: var(--glass-border);
    justify-content: center;
    align-items: flex-start;
}

.bento-card--stat strong {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 6px;
}

.bento-card--stat span {
    font-size: 0.9rem;
    color: var(--muted);
}

.bento-card--accent {
    background: linear-gradient(145deg, var(--graphite) 0%, #1e1e22 100%);
    color: var(--white);
    border-color: rgba(255, 87, 34, 0.25);
}

.bento-link {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.bento-link:hover {
    text-decoration: underline;
}

/* ——— Inner pages layout ——— */
body.page-dark,
body.page-home {
    padding-top: 0;
}

.page-home > header,
.page-dark > header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.page-home > header.is-scrolled,
.page-dark > header.is-scrolled {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* ——— Services ——— */
.services {
    background: var(--graphite);
    padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
    flex: 1;
}

.services > h1 {
    display: none;
}

.services h2,
.services h3 {
    color: var(--white);
    letter-spacing: -0.02em;
}

.services h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.services h3 {
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
}

.services img {
    display: block;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 auto 20px;
    border: 1px solid var(--glass-border);
}

.guarantees img,
.special img,
.technologies img,
.using_metal_bending img,
.types_of_bdending img,
.advanteges_of_bending img {
    max-width: 100%;
}

.guarantees,
.special,
.technologies,
.using_metal_bending,
.types_of_bdending,
.advanteges_of_bending {
    text-align: center;
}

.guarantees ul,
.special ul,
.technologies ul,
.using_metal_bending ul,
.types_of_bdending ul,
.advanteges_of_bending ul,
.advanteges_of_bending ol {
    text-align: left;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.powder_advantages,
.advanteges_outsourced {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.powder_advantages img,
.advanteges_outsourced img {
    max-width: 460px;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: 0 auto 20px;
}

.powder_advantages ul,
.advanteges_outsourced ul {
    text-align: left;
    max-width: 640px;
    margin: 0 auto;
}

.powder_h,
.outsourced_h {
    text-align: center;
}

.laser_container,
.metal_bending,
.powder_paint,
.outsourced_power {
    background: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
    padding: clamp(24px, 4vw, 40px);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    transition: border-color 0.35s var(--ease-smooth);
}

.laser_container:hover,
.metal_bending:hover,
.powder_paint:hover,
.outsourced_power:hover {
    border-color: rgba(255, 87, 34, 0.25);
}

.laser_cutting,
.bending_list,
.powder_painting,
.outsourced {
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.laser_cutting p,
.bending_list p,
.powder_painting p,
.outsourced p {
    text-align: center;
}

.atributes_laser,
.atributes_bending {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding: 0;
}

.guarantees,
.special,
.technologies,
.using_metal_bending,
.types_of_bdending,
.advanteges_of_bending {
    background: var(--graphite-soft);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
}

.guarantees h3,
.special h3,
.technologies h3,
.using_metal_bending h3,
.types_of_bdending h3,
.advanteges_of_bending h3 {
    color: var(--white);
}

.guarantees ul,
.special ul,
.technologies ul,
.using_metal_bending ul,
.types_of_bdending ul,
.advanteges_of_bending ul,
.advanteges_of_bending ol {
    color: var(--muted);
}

.powder_advantages,
.advanteges_outsourced {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 24px;
    background: var(--surface-elevated);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin: 20px 0;
}

.powder_h,
.outsourced_h {
    text-align: center;
    padding-bottom: 16px;
    margin-bottom: 24px;
    font-weight: 700;
}

.services p {
    padding: 0 0 12px;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
}

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

.services ul li,
.services ol li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: inherit;
    padding-left: 1.2em;
    position: relative;
}

.services ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.services ol {
    padding-left: 1.5em;
}

/* ——— Calculator ——— */
.calculator {
    padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
    text-align: center;
    background: var(--graphite);
    flex: 1;
}

.calculator > h2 {
    display: none;
}

.calculator-container {
    max-width: 440px;
    margin: 0 auto;
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

#order-form label {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    color: var(--white);
}

#order-form select,
#order-form input {
    padding: 14px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font);
    background: var(--graphite);
    color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#order-form select:focus,
#order-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

#order-form select option {
    background: var(--graphite);
    color: var(--white);
}

#order-form button {
    padding: 14px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font);
    margin-top: 8px;
    transition: background 0.2s, transform 0.2s;
}

#order-form button:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.result {
    margin-top: 24px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
}

.result span {
    color: var(--accent);
    font-weight: 800;
}

/* ——— Gallery ——— */
.gallery {
    min-height: auto;
    padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
    background: var(--graphite);
    text-align: center;
    flex: 1;
}

.gallery > h2 {
    display: none;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: min(70vh, 640px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.55s var(--ease);
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.carousel-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.carousel-item p {
    position: relative;
    z-index: 1;
    margin: 16px;
    font-size: 1rem;
    color: var(--white);
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.35);
    transition: transform 0.2s, background 0.2s;
    z-index: 2;
    line-height: 1;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.08);
}

/* ——— About ——— */
.about {
    padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
    background: var(--graphite);
    text-align: center;
    min-height: auto;
    flex: 1;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.about > h2 {
    display: none;
}

.about > h3 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 48px 0 24px;
    color: var(--white);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    max-width: 720px;
    margin: 0 auto;
}

.about-content img {
    width: min(420px, 100%);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

.about-content p {
    max-width: 640px;
    font-size: 1.05rem;
    text-align: center;
    color: var(--muted);
}

.why-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-item {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    text-align: left;
    transition: transform 0.45s var(--ease-smooth), border-color 0.45s;
    color: var(--white);
}

.why-us-item:hover {
    border-color: rgba(255, 87, 34, 0.28);
}

.why-us-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
}

.why-us-item h4 {
    margin: 16px 0 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.why-us-item p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ——— Contact ——— */
.contact {
    padding: clamp(32px, 6vw, 48px) clamp(20px, 5vw, 48px) clamp(64px, 8vw, 96px);
    background: var(--graphite);
    flex: 1;
    text-align: center;
}

.contact > h2 {
    display: none;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid var(--glass-border);
    text-align: left;
}

.contact-info p {
    margin: 12px 0;
    font-size: 1.05rem;
    color: var(--muted);
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 48px;
}

.map-container h3 {
    margin-bottom: 20px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}

.map-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#map {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* ——— Footer ——— */
footer {
    padding: 28px 20px;
    background: var(--graphite);
    color: var(--muted);
    text-align: center;
    width: 100%;
    margin-top: auto;
    font-size: 0.9rem;
}

.page-home footer,
.page-dark footer {
    background: var(--graphite-soft);
    border-top: 1px solid var(--glass-border);
}

/* ——— Page hero (inner pages) ——— */
.page-hero--compact {
    min-height: min(40vh, 340px);
}

.page-hero {
    position: relative;
    min-height: min(42vh, 360px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-h) + 40px) clamp(20px, 5vw, 48px) 48px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 87, 34, 0.12), transparent 55%),
        radial-gradient(ellipse 40% 30% at 80% 60%, rgba(0, 113, 227, 0.08), transparent),
        var(--graphite);
    border-bottom: 1px solid var(--glass-border);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.35;
    pointer-events: none;
}

.page-hero__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--graphite) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-hero__illo-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    width: min(520px, 90vw);
}

.page-hero__illo {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.22;
    max-height: 180px;
    object-fit: contain;
    filter: saturate(0.85);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.page-hero__content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 12px;
}

.page-hero__lead {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 16px;
}

.trust-line {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
}

.trust-line strong {
    color: var(--white);
    font-weight: 600;
}

.page-content {
    position: relative;
    z-index: 2;
}

/* ——— Process strip (home) ——— */
.process-strip {
    padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px);
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.process-strip h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--white);
}

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

.process-step {
    background: var(--graphite);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-card);
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.35s var(--ease-smooth);
}

.process-step:hover {
    border-color: rgba(255, 87, 34, 0.3);
}

.process-step__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ——— Motion / reveal ——— */
html.js-enhanced .reveal:not(.is-visible),
html.js-enhanced .reveal-stagger:not(.is-visible) > * {
    opacity: 0;
}

.reveal,
.reveal-stagger > * {
    opacity: 1;
    transition: opacity 0.55s var(--ease-smooth);
}

.reveal.is-visible,
.reveal-stagger.is-visible > *,
.reveal-stagger > *.is-visible {
    opacity: 1;
}

/* Контент внутренних страниц всегда виден (без скрытия reveal) */
html.js-enhanced .page-content .reveal,
html.js-enhanced .page-content .reveal:not(.is-visible),
html.js-enhanced .page-content .reveal-stagger:not(.is-visible) > *,
html.js-enhanced .page-content .reveal-stagger > * {
    opacity: 1;
    visibility: visible;
}

.page-content,
.calculator,
.gallery,
.contact {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.calculator-container,
.contact-container,
.contact-info {
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    text-align: center;
    max-width: 520px;
}

.contact-info p {
    text-align: center;
}

.map-container {
    text-align: center;
}

/* Service section labels */
.service-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
    .bento-grid--home .bento-card {
        grid-column: span 6;
    }

    .bento-grid--stats .bento-card {
        grid-column: span 6;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

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

    .page-hero {
        min-height: 380px;
    }

    .page-hero__illo {
        opacity: 0.2;
        max-height: 140px;
    }

    .logo img {
        height: 30px;
        max-width: 88px;
    }

    /* Горизонтальный скролл меню — только планшет; на телефоне drawer в mobile.css */
    @media (min-width: 481px) {
        .nav-links {
            overflow-x: auto;
            flex-wrap: nowrap;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 4px;
            scrollbar-width: thin;
        }
    }

    .bento-grid--home .bento-card,
    .bento-grid--stats .bento-card {
        grid-column: span 12;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .powder_advantages,
    .advanteges_outsourced {
        grid-template-columns: 1fr;
    }

    .powder_advantages img,
    .advanteges_outsourced img {
        order: -1;
    }

    .atributes_laser,
    .atributes_bending {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: min(55vh, 480px);
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.82rem;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
