/* ============================================
   Nirschl – Modern Precision Website
   ============================================ */

:root {
    --color-bg: #080b10;
    --color-bg-elevated: #0f1419;
    --color-bg-card: #141b24;
    --color-surface: #1a2332;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(212, 175, 55, 0.35);

    --color-text: #f0f4f8;
    --color-text-muted: #94a3b8;
    --color-text-subtle: #64748b;

    --color-accent: #d4af37;
    --color-accent-dark: #8b6914;
    --color-accent-glow: rgba(212, 175, 55, 0.25);
    --color-steel: #2a2580;

    /* Brand color */
    --color-brand: #161161;
    --color-brand-dark: #0e0b42;
    --color-navy: #161161;
    --color-navy-dark: #0e0b42;
    --color-header-bg: #ffffff;
    --color-header-text: #161161;
    --color-header-border: rgba(22, 17, 97, 0.08);

    --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Typography – unified across homepage */
    --fs-title: clamp(1.875rem, 2.8vw, 2.25rem);
    --fw-title: 600;
    --lh-title: 1.3;
    --color-title: var(--color-brand);

    --fs-body: 1rem;
    --fw-body: 400;
    --lh-body: 1.7;
    --color-body-text: #333333;

    --fs-nav: 0.9375rem;
    --fw-nav: 500;

    --fs-label: 0.9375rem;
    --fw-label: 600;

    --fs-small: 0.875rem;
    --fw-small: 500;

    --header-height: 110px;
    --container-max: 1320px;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: clip;
}

img, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(100% - 3rem, var(--container-max));
    margin-inline: auto;
}

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: var(--header-height);
    height: auto;
    padding: 0.75rem 0;
    background: var(--color-header-bg);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(22, 17, 97, 0.08);
    border-bottom-color: var(--color-header-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    max-width: var(--container-max);
    width: min(100% - 3rem, var(--container-max));
    margin-inline: auto;
}

.logo {
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.85;
}

.logo img {
    margin-left: 20px;
    height: 72px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}

.nav-list a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: var(--fs-nav);
    font-weight: var(--fw-nav);
    color: var(--color-header-text);
    border-radius: 4px;
    transition: color var(--transition), opacity var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-navy-dark);
    opacity: 0.75;
}

.nav-list a.active {
    opacity: 1;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: 1.5px solid rgba(22, 17, 97, 0.2);
    border-radius: 4px;
    padding: 2px;
    margin-left: 0.5rem;
}

.lang-btn {
    display: block;
    padding: 0.35rem 0.7rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-small);
    color: var(--color-header-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.lang-btn:hover {
    background: rgba(22, 17, 97, 0.06);
}

.lang-btn.active {
    background: var(--color-navy);
    color: #fff;
}

.lang-divider {
    width: 1px;
    height: 14px;
    background: rgba(22, 17, 97, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid rgba(22, 17, 97, 0.2);
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.hero-video-wrap {
    width: 100%;
    line-height: 0;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
    to { transform: rotate(360deg); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 3;
    padding: 2rem min(8vw, 6rem);
    max-width: 720px;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

.hero-title {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
    color: var(--color-title);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    max-width: 520px;
}

/* ---- Product Showcase (flip cards) ---- */
.product-showcase {
    padding: 2rem 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.product-showcase .container {
    display: flex;
    justify-content: center;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 500px);
    gap: 1.5rem;
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
}

.flip-card {
    perspective: 1000px;
    width: 500px;
    height: 270px;
    cursor: pointer;
    outline: none;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
    border-radius: 18px;
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.flip-card-front {
    background: radial-gradient(ellipse at center, #e8eaed 0%, #d4d8dc 55%, #c8cdd2 100%);
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flip-card-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    transform: rotateY(180deg);
    text-align: center;
}

.flip-card-back h3 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: #fff;
    line-height: var(--lh-title);
    max-width: 90%;
}

@media (hover: hover) {
    .flip-card:hover .flip-card-inner,
    .flip-card:focus-within .flip-card-inner {
        transform: rotateY(180deg);
    }

    .flip-card:hover .flip-card-front img {
        transform: scale(1.03);
    }
}

@media (hover: none) {
    .flip-card.is-flipped .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* ---- About Us ---- */
.about-us {
    padding: 4rem clamp(2rem, 6vw, 5rem) 5rem;
    background: #fff;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

.about-us-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

.about-us-title {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
    color: var(--color-title);
    margin-bottom: 1.75rem;
}

.about-us-content p {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    margin-bottom: 1.25rem;
}

.about-us-btn {
    margin-top: 0.75rem;
}

.about-us-visual {
    display: flex;
    height: 100%;
}

.about-us-image-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 480px;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
}

.about-us-image-wrap img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

.about-us-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1.25rem 1.75rem;
    background: var(--color-brand);
    border-radius: 0 0 14px 0;
    text-align: center;
    color: #fff;
    line-height: 1.2;
}

.about-us-badge-num {
    display: block;
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
}

.about-us-badge-text {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-body);
    margin-top: 0.15rem;
}

/* ---- Features Bar ---- */
.features-bar {
    background: var(--color-brand);
    padding: 3.5rem clamp(2rem, 6vw, 5rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
}

.features-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.features-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.features-item p {
    color: #fff;
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
}

/* ---- Blogs ---- */
.blogs-section {
    padding: 4rem clamp(2rem, 6vw, 5rem) 5rem;
    background: #fff;
}

.blogs-title {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
    color: var(--color-title);
    margin-bottom: 1.5rem;
}

.blogs-description {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    margin-bottom: 2.75rem;
    max-width: 100%;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.15rem;
    line-height: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition);
}

.blog-card-image:hover img {
    transform: scale(1.04);
}

.blog-card-category {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    line-height: var(--lh-title);
    color: var(--color-body-text);
    margin-bottom: 1.15rem;
}

.blog-card-title a {
    color: inherit;
    transition: color var(--transition);
}

.blog-card-title a:hover {
    color: var(--color-brand);
}

/* ---- Unified Buttons ---- */
.site-btn,
.about-us-btn,
.blog-card-btn,
.flip-card-btn,
.footer-cta-btn,
.btn,
.btn-primary,
.btn-outline,
.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.45rem 1.15rem;
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: var(--fw-small);
    color: var(--color-brand);
    background: transparent;
    border: 1px solid var(--color-brand);
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none;
    transition: color var(--transition), border-color var(--transition), opacity var(--transition);
}

.site-btn:hover,
.about-us-btn:hover,
.blog-card-btn:hover,
.flip-card-btn:hover,
.footer-cta-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-lg:hover {
    background: transparent;
    color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
    transform: none;
    box-shadow: none;
}

.flip-card-back .flip-card-btn,
.footer-cta-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.flip-card-back .flip-card-btn:hover,
.footer-cta-btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    opacity: 0.85;
}

/* ---- Sections ---- */
.section {
    padding: 7rem 0;
}

.section-label {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
}

.section-body {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-text-muted);
    margin-top: 1.25rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* ---- Intro ---- */
.intro {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.precision-ring {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.ring-1 { animation: spin 30s linear infinite; }
.ring-2 {
    inset: 30px;
    border-color: rgba(61, 90, 128, 0.3);
    animation: spin 20s linear infinite reverse;
}
.ring-3 {
    inset: 60px;
    border-color: rgba(212, 175, 55, 0.25);
    animation: spin 15s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.ring-center {
    position: absolute;
    inset: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-accent);
}

.ring-center svg {
    width: 64px;
    height: 64px;
    opacity: 0.6;
}

.ring-center span {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: -0.5rem;
}

/* ---- Products ---- */
.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-card {
    position: relative;
    padding: 2.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition);
}

.card-link:hover {
    text-decoration: underline;
}

/* ---- Standards ---- */
.standards-box {
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-card) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.standards-header {
    margin-bottom: 2.5rem;
}

.standards-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.standards-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-weight: 500;
    transition: border-color var(--transition), background var(--transition);
}

.standards-list li:hover {
    border-color: var(--color-border-hover);
    background: rgba(212, 175, 55, 0.04);
}

.std-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.7;
    min-width: 1.5rem;
}

/* ---- Footer CTA ---- */
.footer-cta {
    background: var(--color-brand);
    padding: 4rem clamp(2rem, 6vw, 5rem);
}

.footer-cta-inner {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
}

.footer-cta-inner h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
    color: #fff;
    margin-bottom: 1rem;
}

.footer-cta-inner p {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ---- Footer ---- */
.site-footer {
    background: #f8f9fc;
    color: #333;
    border-top: 1px solid rgba(22, 17, 97, 0.06);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 1.25fr;
    gap: 3rem 2.5rem;
    padding: 5rem 0 3.5rem;
    align-items: start;
}

.footer-col h3 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(22, 17, 97, 0.12);
}

.footer-tagline {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    color: var(--color-body-text);
    line-height: var(--lh-body);
    margin-top: 1.35rem;
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
    transition: opacity var(--transition);
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    display: inline-block;
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    color: var(--color-body-text);
    padding-left: 0;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
    color: var(--color-brand);
    padding-left: 0.35rem;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.footer-contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(22, 17, 97, 0.08);
    border-radius: 8px;
    color: var(--color-brand);
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-item p {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    margin: 0;
    padding-top: 0.35rem;
}

.footer-contact-item a {
    color: var(--color-body-text);
    transition: color var(--transition);
}

.footer-contact-item a:hover {
    color: var(--color-brand);
}

.footer-bottom {
    background: #fff;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
    padding: 1.75rem 0;
}

.footer-bottom-inner p {
    font-size: var(--fs-small);
    font-weight: var(--fw-body);
    color: #666;
    text-align: center;
}

/* ---- Internal pages ---- */
.internal-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-brand);
}

.internal-banner--page {
    min-height: 360px;
}

.internal-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.internal-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 11, 66, 0.55) 0%, rgba(14, 11, 66, 0.15) 45%, transparent 70%);
    pointer-events: none;
}

.internal-banner-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
    max-width: 680px;
}

.internal-banner-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.75rem;
}

.internal-banner-jumps a {
    display: inline-flex;
    padding: 0.45rem 1rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 100px;
    transition: background var(--transition), border-color var(--transition);
}

.internal-banner-jumps a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: #fff;
}

.internal-banner-content h1 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    line-height: var(--lh-title);
    color: #fff;
    margin-bottom: 0.75rem;
}

.internal-banner-content p {
    font-size: var(--fs-body);
    font-weight: var(--fw-body);
    line-height: var(--lh-body);
    color: rgba(255, 255, 255, 0.88);
}

/* ---- Tool holders page ---- */
.th-intro {
    padding: 4.5rem 0;
    background: #fff;
}

.th-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.th-intro-visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 380px;
}

.th-intro-visual img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.th-intro-badge {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    padding: 0.85rem 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 10px;
    line-height: 1.3;
}

.th-intro-badge strong {
    display: block;
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
}

.th-intro-badge span {
    font-size: var(--fs-small);
    color: #666;
}

.th-intro-copy h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: var(--lh-title);
    margin-bottom: 1.25rem;
}

.th-intro-copy p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    margin-bottom: 1.75rem;
}

.th-intro-btn {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.th-intro-btn:hover {
    color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}

.th-industries {
    padding: 3rem 0 4rem;
    background: #f8f9fc;
    border-top: 1px solid rgba(22, 17, 97, 0.06);
    border-bottom: 1px solid rgba(22, 17, 97, 0.06);
}

.th-industries-heading {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    text-align: center;
    margin-bottom: 1.75rem;
}

.th-industries-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.th-industries-grid li {
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 12px;
    padding: 1.35rem 1.25rem;
    text-align: center;
}

.th-industries-grid li span {
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    opacity: 0.45;
    margin-bottom: 0.5rem;
}

.th-industries-grid li p {
    font-size: var(--fs-body);
    font-weight: var(--fw-label);
    color: var(--color-body-text);
    line-height: var(--lh-body);
}

.th-section-head {
    margin-bottom: 2.5rem;
    max-width: 640px;
}

.th-section-head--center {
    margin-inline: auto;
    text-align: center;
    max-width: 720px;
}

.th-section-head h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: var(--lh-title);
    margin-bottom: 0.75rem;
}

.th-section-head p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: #666;
}

.th-catalog {
    padding: 4.5rem 0 5rem;
    background: #fff;
}

.th-catalog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.th-cat-band {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 1.75rem 2rem;
    background: #fff;
    border-bottom: 1px solid rgba(22, 17, 97, 0.08);
}

.th-cat-band:last-child {
    border-bottom: none;
}

.th-cat-band--alt {
    background: #f8f9fc;
}

.th-cat-band-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.25rem;
}

.th-cat-num {
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    opacity: 0.45;
}

.th-cat-band-label h3 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    line-height: var(--lh-body);
}

.th-cat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.th-cat-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-body);
    color: var(--color-body-text);
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.12);
    border-radius: 8px;
    transition: all var(--transition);
}

.th-cat-band--alt .th-cat-links a {
    background: #fff;
}

.th-cat-links a svg {
    width: 12px;
    height: 12px;
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.th-cat-links a:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
}

.th-cat-links a:hover svg {
    opacity: 1;
}

.th-specs {
    padding: 4.5rem 0 5rem;
    background: var(--color-brand);
}

.th-specs .th-section-head h2 {
    color: #fff;
}

.th-specs-diagram {
    max-width: 520px;
    margin: 0 auto 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-align: center;
}

.th-specs-diagram img {
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    filter: brightness(1.1);
}

.th-size-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.th-size-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 96px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    text-align: center;
}

.th-size-pill strong {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: #fff;
}

.th-size-pill span {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.72);
}

.th-gallery {
    padding: 4.5rem 0 5rem;
    background: #fff;
}

.th-gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.25rem;
}

.th-gallery-tile {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.th-gallery-tile--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.th-gallery-img {
    flex: 1;
    min-height: 160px;
    background: #f8f9fc;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.th-gallery-tile--featured .th-gallery-img {
    min-height: 280px;
}

.th-gallery-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.th-gallery-tile figcaption {
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    line-height: var(--lh-body);
    color: var(--color-body-text);
}

.th-page-cta {
    padding: 3rem 0;
    background: #f8f9fc;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
}

.th-page-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.th-page-cta-inner p {
    font-size: var(--fs-body);
    color: #666;
    max-width: 560px;
}

.th-page-cta .footer-cta-btn {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.th-page-cta .footer-cta-btn:hover {
    color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}

/* ---- Product detail page ---- */
.th-product-diameter {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
}

.th-product-detail {
    padding: 3.5rem 0 4rem;
    background: #fff;
}

.th-product-intro {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.75rem;
}

.th-product-intro strong {
    color: var(--color-brand);
    font-weight: var(--fw-label);
}

.th-product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.th-product-photo {
    margin: 0;
    flex: 0 0 auto;
}

.th-product-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 6px;
}

.th-product-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
}

.th-product-nav-back {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.th-product-nav-back:hover {
    color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}

.th-product-nav-arrows {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.th-product-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-body-text);
    border: 1px solid rgba(22, 17, 97, 0.12);
    border-radius: 8px;
    transition: all var(--transition);
}

.th-product-nav-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.th-product-nav-link--next {
    flex-direction: row-reverse;
}

.th-product-nav-link:hover {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.th-product-nav-link--disabled {
    visibility: hidden;
    pointer-events: none;
}

.th-product-siblings {
    padding: 2.5rem 0 3.5rem;
    background: #f8f9fc;
    border-top: 1px solid rgba(22, 17, 97, 0.06);
}

.th-product-siblings h2 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    text-align: center;
}

.th-product-siblings-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.th-product-sibling-chip {
    display: inline-flex;
    padding: 0.45rem 0.95rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-body);
    color: var(--color-body-text);
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.12);
    border-radius: 100px;
    transition: all var(--transition);
}

.th-product-sibling-chip:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.th-product-sibling-chip.is-active {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
    pointer-events: none;
}

/* ---- Messtechnik pages ---- */
.mt-layout {
    padding: 2.5rem 0 4rem;
    background: #f8f9fc;
}

.mt-layout-panel {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.mt-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    align-self: start;
    z-index: 20;
    height: fit-content;
}

.mt-sidebar-inner {
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--color-brand);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(22, 17, 97, 0.12);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.mt-sidebar-inner::-webkit-scrollbar {
    width: 4px;
}

.mt-sidebar-inner::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.mt-sidebar-heading {
    padding: 1rem 1.15rem 0.5rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mt-sidebar-back {
    display: block;
    padding: 0.85rem 1.15rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background var(--transition);
}

.mt-sidebar-back:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mt-sidebar-nav ul {
    list-style: none;
    padding: 0.35rem 0 0.5rem;
}

.mt-sidebar-link {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.85rem 1.15rem;
    color: #fff;
    border-left: 3px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}

.mt-sidebar-line1 {
    font-size: 0.8125rem;
    font-weight: var(--fw-body);
    opacity: 0.75;
    line-height: 1.25;
}

.mt-sidebar-line2 {
    font-size: 0.9375rem;
    font-weight: var(--fw-label);
    line-height: 1.35;
}

.mt-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mt-sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-left-color: #fff;
}

.mt-sidebar-link.is-active .mt-sidebar-line1 {
    opacity: 1;
}

.mt-main {
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 12px;
    padding: 2rem 2.25rem 2.5rem;
    min-width: 0;
    box-shadow: 0 4px 20px rgba(22, 17, 97, 0.04);
}

.mt-overview {
    max-width: 820px;
    margin-inline: auto;
}

.mt-overview-head {
    text-align: center;
    margin-bottom: 2rem;
}

.mt-overview-head h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    margin-bottom: 1.25rem;
}

.mt-overview-hero {
    margin: 0 auto;
    max-width: 320px;
}

.mt-overview-hero img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(22, 17, 97, 0.08);
    background: #f8f9fc;
}

.mt-overview-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.mt-overview-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mt-overview-images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-overview-tagline {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: var(--fw-title);
    color: var(--color-brand);
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-intro {
    padding: 4.5rem 0;
    background: #fff;
}

.mt-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.mt-intro-visual {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-intro-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.mt-intro-copy h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: var(--lh-title);
    margin-bottom: 1.75rem;
}

.mt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.mt-info-block {
    background: #f8f9fc;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.mt-info-block h3 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.mt-info-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mt-info-block li {
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    padding-left: 1rem;
    position: relative;
}

.mt-info-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-brand);
    opacity: 0.5;
}

.mt-showcase {
    padding: 0 0 3rem;
    background: #fff;
}

.mt-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mt-showcase-grid img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-tagline {
    padding: 2.5rem 0;
    background: var(--color-brand);
    text-align: center;
}

.mt-tagline p {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: var(--fw-title);
    color: #fff;
    letter-spacing: 0.02em;
}

.mt-section-head {
    margin-bottom: 2.5rem;
    max-width: 640px;
}

.mt-section-head--center {
    margin-inline: auto;
    text-align: center;
    max-width: 720px;
}

.mt-section-head h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    margin-bottom: 0.75rem;
}

.mt-section-head p {
    font-size: var(--fs-body);
    color: #666;
    line-height: var(--lh-body);
}

.mt-catalog {
    padding: 4.5rem 0 5rem;
    background: #f8f9fc;
}

.mt-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.mt-catalog-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 14px;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.mt-catalog-card:hover {
    border-color: rgba(22, 17, 97, 0.18);
    box-shadow: 0 12px 36px rgba(22, 17, 97, 0.08);
    transform: translateY(-2px);
}

.mt-catalog-num {
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    opacity: 0.45;
}

.mt-catalog-card h3 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    line-height: var(--lh-body);
    flex: 1;
}

.mt-catalog-link {
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-body-text);
}

.mt-page-cta {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-page-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.mt-page-cta-inner p {
    font-size: var(--fs-body);
    color: #666;
    max-width: 560px;
}

.mt-page-cta .footer-cta-btn {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.mt-page-cta .footer-cta-btn:hover {
    color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}

.mt-product-detail {
    padding: 0;
    background: transparent;
}

.mt-product-head h2 {
    font-size: var(--fs-title);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: var(--lh-title);
    margin-bottom: 1.25rem;
}

.mt-product-head--center {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}

.mt-product-text {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.mt-product-text p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-body-text);
    margin-bottom: 0.85rem;
}

.mt-product-text--article {
    max-width: none;
}

.mt-product-highlight {
    padding: 1rem 1.25rem;
    background: rgba(22, 17, 97, 0.04);
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-left: 3px solid var(--color-brand);
    border-radius: 8px;
    font-size: var(--fs-small);
    line-height: var(--lh-body);
    color: var(--color-brand);
    font-weight: var(--fw-label);
    margin-bottom: 1.5rem;
    text-align: center;
}

.mt-product-hero-img {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mt-product-hero-img img {
    max-width: 180px;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-product-diagram {
    margin: 0 auto 1.75rem;
    text-align: center;
    max-width: 560px;
}

.mt-product-diagram img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-product-subhead {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    margin-bottom: 1.25rem;
}

.mt-product-subhead--center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1.25rem;
}

.mt-product-motto {
    font-size: var(--fs-label);
    font-weight: var(--fw-title);
    color: var(--color-brand);
    text-align: center;
    margin: 1.5rem 0 1.75rem;
}

.mt-product-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mt-product-gallery--pair {
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.mt-product-photo {
    margin: 0;
}

.mt-product-photo--wide {
    grid-column: 1 / -1;
    max-width: 480px;
    margin-inline: auto;
}

.mt-product-photo-frame {
    background: #f8f9fc;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 8px;
    overflow: hidden;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.mt-product-photo-frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mt-product-photo figcaption {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--color-body-text);
    margin-top: 0.5rem;
    text-align: center;
}

.mt-figure-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mt-figure-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem 1.15rem;
    background: #f8f9fc;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 10px;
}

.mt-figure-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem;
    height: 130px;
}

.mt-figure-img img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.mt-figure-copy p {
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    line-height: 1.5;
    color: var(--color-body-text);
}

.mt-spec-table-wrap {
    max-width: 640px;
    margin: 0 auto;
    overflow-x: auto;
}

.mt-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-small);
}

.mt-spec-table th,
.mt-spec-table td {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(22, 17, 97, 0.1);
    text-align: left;
    vertical-align: top;
}

.mt-spec-table th {
    width: 28%;
    font-weight: var(--fw-label);
    color: var(--color-brand);
    background: #f8f9fc;
}

.mt-spec-table td {
    color: var(--color-body-text);
    line-height: var(--lh-body);
    background: #fff;
}

.mt-product-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(22, 17, 97, 0.08);
}

.mt-product-nav-back {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.mt-product-nav-arrows {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.mt-product-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-label);
    color: var(--color-body-text);
    border: 1px solid rgba(22, 17, 97, 0.12);
    border-radius: 8px;
    transition: all var(--transition);
}

.mt-product-nav-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.mt-product-nav-link--next {
    flex-direction: row-reverse;
}

.mt-product-nav-link:hover {
    color: var(--color-brand);
    border-color: var(--color-brand);
}

.mt-product-siblings {
    padding: 2.5rem 0 3.5rem;
    background: #f8f9fc;
    border-top: 1px solid rgba(22, 17, 97, 0.06);
}

.mt-product-siblings h2 {
    font-size: var(--fs-label);
    font-weight: var(--fw-label);
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    text-align: center;
}

.mt-product-siblings-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.mt-product-sibling-chip {
    display: inline-flex;
    padding: 0.45rem 0.95rem;
    font-size: var(--fs-small);
    color: var(--color-body-text);
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.12);
    border-radius: 100px;
    transition: all var(--transition);
}

.mt-product-sibling-chip:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.mt-product-sibling-chip.is-active {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: #fff;
    pointer-events: none;
}

/* ---- About us (Versa-style layout) ---- */
.au-v-banner-kicker {
    font-size: 0.75rem;
    font-weight: var(--fw-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.65rem;
}

.au-v {
    background: #fff;
    color: var(--color-body-text);
}

.au-v-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: var(--fw-label);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.au-v-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.au-v-section-head h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: 1.25;
}

.au-v-section-lead {
    margin-top: 0.75rem;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: #555;
}

/* Intro */
.au-v-intro {
    padding: 4rem 0;
}

.au-v-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.au-v-intro-media {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(22, 17, 97, 0.12);
}

.au-v-intro-media img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.au-v-intro-copy h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: var(--fw-title);
    color: var(--color-title);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.au-v-intro-copy p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    margin-bottom: 1rem;
    color: var(--color-body-text);
}

.au-v-intro-copy p:last-child {
    margin-bottom: 0;
}

/* Purpose – 3 cards */
.au-v-purpose {
    padding: 4rem 0;
    background: #f4f5fa;
}

.au-v-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.au-v-purpose-card {
    padding: 2rem 1.75rem;
    background: #fff;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}

.au-v-purpose-card:hover {
    box-shadow: 0 12px 32px rgba(22, 17, 97, 0.1);
    transform: translateY(-4px);
}

.au-v-purpose-card h3 {
    font-size: 1.125rem;
    font-weight: var(--fw-title);
    color: var(--color-brand);
    margin-bottom: 0.75rem;
}

.au-v-purpose-card p {
    font-size: var(--fs-small);
    line-height: 1.65;
    color: var(--color-body-text);
}

/* Timeline + gallery */
.au-v-timeline {
    padding: 4rem 0;
}

.au-v-milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.au-v-milestone {
    padding: 1.35rem 1.25rem;
    background: #f8f9fc;
    border: 1px solid rgba(22, 17, 97, 0.08);
    border-radius: 10px;
    border-top: 3px solid var(--color-brand);
}

.au-v-milestone-year {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

.au-v-milestone p {
    font-size: var(--fs-small);
    line-height: 1.55;
}

.au-v-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.au-v-gallery-item {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.au-v-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.au-v-gallery-item:hover img {
    transform: scale(1.04);
}

/* Achievements */
.au-v-achieve {
    padding: 4rem 0;
    background: #f4f5fa;
}

.au-v-achieve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.au-v-achieve-copy h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: var(--fw-title);
    color: var(--color-title);
    margin-bottom: 1rem;
}

.au-v-achieve-copy p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    margin-bottom: 0.75rem;
}

.au-v-achieve-note {
    font-size: var(--fs-small) !important;
    color: #666;
}

.au-v-achieve-media {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(22, 17, 97, 0.12);
}

.au-v-achieve-media img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

/* Products */
.au-v-products {
    padding: 4rem 0 4.5rem;
}

.au-v-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.au-v-product {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(22, 17, 97, 0.1);
    transition: box-shadow var(--transition);
}

.au-v-product img {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.au-v-product-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.5rem;
    font-size: var(--fs-body);
    font-weight: var(--fw-label);
    color: #fff;
    background: linear-gradient(0deg, rgba(14, 11, 66, 0.9) 0%, transparent 100%);
}

.au-v-product:hover {
    box-shadow: 0 16px 40px rgba(22, 17, 97, 0.18);
}

.au-v-product:hover img {
    transform: scale(1.03);
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-us-content {
        padding-right: 0;
    }

    .about-us-image-wrap,
    .about-us-image-wrap img {
        min-height: 320px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .footer-logo img {
        height: 68px;
    }

    .th-intro-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .th-intro-visual {
        order: -1;
        min-height: 300px;
    }

    .th-intro-visual img {
        min-height: 300px;
    }

    .th-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .th-cat-band {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .th-gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .th-gallery-tile--featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .mt-layout-panel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .mt-sidebar {
        position: static;
        top: auto;
    }

    .mt-sidebar-inner {
        max-height: none;
        overflow: visible;
    }

    .mt-sidebar-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .mt-sidebar-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 0.75rem 0.85rem;
    }

    .mt-sidebar-link.is-active {
        border-left-color: transparent;
        border-bottom-color: #fff;
    }

    .mt-main {
        padding: 1.75rem 1.5rem 2rem;
    }

    .mt-overview-columns {
        grid-template-columns: 1fr;
    }

    .mt-overview-images {
        grid-template-columns: 1fr;
    }

    .mt-overview-images img {
        height: 160px;
    }

    .mt-product-gallery {
        grid-template-columns: 1fr;
    }

    .mt-figure-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .mt-figure-img {
        height: 120px;
    }

    .au-v-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .au-v-intro-media {
        order: -1;
    }

    .au-v-purpose-grid {
        grid-template-columns: 1fr;
    }

    .au-v-milestones {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-v-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .au-v-achieve-grid {
        grid-template-columns: 1fr;
    }

    .au-v-achieve-media {
        order: -1;
    }

    .mt-intro-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mt-intro-visual {
        order: -1;
    }

    .mt-info-grid {
        grid-template-columns: 1fr;
    }

    .mt-showcase-grid {
        grid-template-columns: 1fr;
    }

    .mt-figure-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro-visual {
        order: -1;
    }

    .precision-ring {
        width: 240px;
        height: 240px;
    }

    .ring-2 { inset: 22px; }
    .ring-3 { inset: 44px; }
    .ring-center { inset: 66px; }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .standards-list {
        grid-template-columns: 1fr;
    }

    .standards-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
    }

    .site-header {
        padding: 0.625rem 0;
    }

    .logo img {
        height: 42px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 2rem;
        gap: 2rem;
        background: #fff;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-list a {
        padding: 0.85rem 0;
        font-size: var(--fs-nav);
        width: 100%;
        border-bottom: 1px solid rgba(22, 17, 97, 0.08);
    }

    .lang-switch {
        align-self: flex-start;
        margin-left: 0;
    }

    .hero-content {
        padding: 1.5rem 1.5rem;
    }

    .product-showcase {
        padding: 1.5rem 0;
    }

    .product-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        max-width: 500px;
    }

    .flip-card {
        width: 100%;
        max-width: 500px;
        height: 270px;
        margin-inline: auto;
    }

    .about-us {
        padding: 2.5rem 1.5rem 3rem;
    }

    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-us-image-wrap,
    .about-us-image-wrap img {
        min-height: 280px;
    }

    .about-us-visual {
        order: -1;
    }

    .features-bar {
        padding: 2.5rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-item img {
        width: 72px;
        height: 72px;
    }

    .blogs-section {
        padding: 2.5rem 1.5rem 3rem;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-cta {
        padding: 3rem 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 3.5rem 0 2.75rem;
    }

    .footer-logo img {
        height: 64px;
    }

    .footer-tagline {
        max-width: none;
    }

    .internal-banner--page {
        min-height: 300px;
    }

    .internal-banner-content {
        padding: 3rem 0;
    }

    .th-intro {
        padding: 3rem 0;
    }

    .th-industries {
        padding: 2.5rem 0 3rem;
    }

    .th-industries-grid {
        grid-template-columns: 1fr;
    }

    .th-catalog {
        padding: 3rem 0 3.5rem;
    }

    .th-cat-band {
        padding: 1.25rem 1rem;
    }

    .th-specs {
        padding: 3rem 0 3.5rem;
    }

    .th-size-pill {
        min-width: 82px;
        padding: 0.6rem 0.75rem;
    }

    .th-gallery {
        padding: 3rem 0 3.5rem;
    }

    .th-gallery-mosaic {
        grid-template-columns: 1fr;
    }

    .th-gallery-tile--featured {
        grid-column: span 1;
    }

    .th-page-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .th-product-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .th-product-nav-arrows {
        margin-left: 0;
        flex-direction: column;
    }

    .th-product-nav-link--next {
        flex-direction: row;
        justify-content: space-between;
    }

    .mt-layout {
        padding: 2rem 0 3rem;
    }

    .mt-sidebar-nav ul {
        grid-template-columns: 1fr;
    }

    .mt-main {
        padding: 1.5rem 1.25rem 2rem;
    }

    .mt-product-photo-frame {
        height: 140px;
    }

    .mt-catalog {
        padding: 3rem 0 3.5rem;
    }

    .mt-catalog-grid {
        grid-template-columns: 1fr;
    }

    .mt-overview-images {
        grid-template-columns: 1fr;
    }

    .mt-product-gallery {
        grid-template-columns: 1fr;
    }

    .mt-product-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .mt-product-nav-arrows {
        margin-left: 0;
        flex-direction: column;
    }

    .mt-page-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .au-v-milestones,
    .au-v-gallery {
        grid-template-columns: 1fr;
    }

    .au-v-products-grid {
        grid-template-columns: 1fr;
    }

    .au-v-intro,
    .au-v-purpose,
    .au-v-timeline,
    .au-v-achieve,
    .au-v-products {
        padding: 2.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        animation: none;
    }

    .hero-loader-spinner {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
