:root {
    --ink: #15202b;
    --muted: #617080;
    --line: #dfe7ed;
    --paper: #ffffff;
    --soft: #f3f7f9;
    --blue: #155fb8;
    --blue-dark: #0d3f78;
    --green: #157a51;
    --steel: #697987;
    --gold: #c58a28;
    --deep: #052b38;
    --deep-dark: #031c27;
    --cyan: #12a9dc;
    --shadow: 0 20px 50px rgba(20, 33, 45, 0.12);
    --wrap: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0 0 1rem;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 880px;
    font-size: clamp(2.45rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
    font-size: 1.2rem;
}

.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 28, 39, 0.96);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 78px;
    width: min(1840px, calc(100% - 32px));
    margin: 0 auto;
}

.header-tools {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher {
    position: relative;
}

.language-button {
    display: inline-flex;
    min-height: 42px;
    gap: 8px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.language-short {
    display: none;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: 150px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #dbe9f0;
    background: #061f2b;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.language-switcher.is-open .language-menu {
    display: grid;
}

.language-menu a {
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
}

.language-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: 154px;
    height: 56px;
    object-fit: contain;
}

.primary-nav {
    justify-self: end;
}

.menu {
    display: flex;
    gap: 22px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c6d6df;
    font-size: 0.94rem;
    font-weight: 700;
}

.menu a {
    display: block;
    padding: 8px 0;
}

.menu a:hover,
.current-menu-item > a {
    color: #fff;
}

.header-rfq,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-rfq,
.button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 14px 28px rgba(21, 95, 184, 0.22);
}

.button-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
}

.button-light {
    color: var(--blue-dark);
    background: #fff;
}

.button-whatsapp {
    color: #fff;
    background: #128c5e;
}

.button svg,
.whatsapp-float svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.button:hover,
.header-rfq:hover {
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    position: relative;
    min-height: clamp(560px, calc(100vh - 78px), 760px);
    padding: clamp(58px, 7vh, 88px) 0 clamp(60px, 7vh, 90px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 45%, rgba(10, 68, 82, 0.74) 67%, rgba(2, 25, 36, 0.98) 100%),
        linear-gradient(180deg, rgba(18, 169, 220, 0.18), rgba(2, 25, 36, 0) 52%),
        var(--deep-dark);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.22;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px) 0 0 / 96px 100%;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.14);
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(500px, 1fr);
    gap: clamp(46px, 6vw, 104px);
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    max-width: 860px;
    color: #fff;
    font-size: clamp(2.85rem, 4.8vw, 5.2rem);
}

.hero-lede {
    max-width: 620px;
    color: #c6d6df;
    font-size: 1.18rem;
}

.hero-media {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 860px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.34));
    transform-origin: center top;
    transform: scale(1.08);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    width: min(650px, 100%);
    margin: 34px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.hero-proof div {
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-proof dt {
    color: #fff;
    font-size: 1.42rem;
    font-weight: 900;
}

.hero-proof dd {
    margin: 4px 0 0;
    color: #b8cbd6;
    font-size: 0.86rem;
}

.home-hero {
    min-height: auto;
    padding: clamp(70px, 9vh, 108px) 0 0;
    background:
        linear-gradient(110deg, rgba(3, 25, 36, 1) 0%, rgba(5, 42, 55, 0.98) 42%, rgba(7, 70, 82, 0.9) 68%, rgba(3, 25, 36, 1) 100%),
        linear-gradient(180deg, rgba(18, 169, 220, 0.18), rgba(2, 25, 36, 0) 54%),
        var(--deep-dark);
}

.home-hero-shell {
    grid-template-columns: minmax(480px, 0.94fr) minmax(520px, 0.9fr);
    gap: clamp(30px, 4vw, 62px);
    align-items: center;
    padding-bottom: clamp(46px, 6vw, 72px);
}

.home-hero .hero-copy h1 {
    max-width: 860px;
    font-size: clamp(3rem, 4.2vw, 5.15rem);
    line-height: 1;
}

.home-hero .hero-lede {
    max-width: 680px;
    color: #d4e7ee;
    font-size: 1.16rem;
}

.hero-system-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 680px;
}

.hero-system-list span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #d7ebf1;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    font-weight: 800;
}

.home-hero .hero-showcase {
    width: min(50vw, 760px);
    aspect-ratio: auto;
    overflow: visible;
}

.home-hero .hero-showcase img {
    height: auto;
    object-fit: contain;
    filter: none;
    transform: none;
}

.home-proof-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px 8px 0 0;
    background: rgba(8, 50, 63, 0.86);
    backdrop-filter: blur(14px);
}

.home-proof-strip div {
    min-height: 116px;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-proof-strip div:last-child {
    border-right: 0;
}

.home-proof-strip strong,
.quality-metrics strong {
    display: block;
    color: #fff;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
    line-height: 1;
}

.home-proof-strip span,
.quality-metrics span {
    display: block;
    margin-top: 9px;
    color: #b8cbd6;
    font-size: 0.9rem;
}

.home-platform-band {
    background: linear-gradient(180deg, #f4f8fa 0%, #ffffff 100%);
}

.home-section-head h2 {
    max-width: 820px;
}

.home-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-platform-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(17, 34, 46, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 54px rgba(17, 34, 46, 0.13);
}

.home-platform-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
}

.home-platform-card span {
    padding: 22px 22px 0;
    color: var(--gold);
    font-weight: 900;
}

.home-platform-card h3 {
    padding: 0 22px;
    font-size: 1.16rem;
}

.home-platform-card p {
    padding: 0 22px 24px;
    color: var(--muted);
}

.home-featured-band {
    background: #fff;
}

.home-product-grid .product-card {
    box-shadow: 0 18px 42px rgba(17, 34, 46, 0.08);
}

.home-factory-band {
    background:
        linear-gradient(180deg, #f5f8fa 0%, #ffffff 100%);
}

.factory-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.78fr);
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    gap: 18px;
}

.factory-photo {
    position: relative;
    min-height: 250px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--deep-dark);
    box-shadow: 0 22px 52px rgba(17, 34, 46, 0.12);
}

.factory-photo-large {
    grid-row: span 2;
    min-height: 560px;
}

.factory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.factory-photo:hover img {
    transform: scale(1.025);
}

.factory-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(3, 25, 36, 0) 35%, rgba(3, 25, 36, 0.82) 100%),
        linear-gradient(90deg, rgba(3, 25, 36, 0.18), rgba(3, 25, 36, 0));
}

.factory-photo figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 24px;
    color: #fff;
}

.factory-photo figcaption span {
    display: block;
    margin-bottom: 8px;
    color: #6ee0ae;
    font-size: 0.82rem;
    font-weight: 900;
}

.factory-photo figcaption strong {
    display: block;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    line-height: 1.12;
}

.factory-photo figcaption p {
    max-width: 560px;
    margin: 9px 0 0;
    color: #c6d6df;
    font-size: 0.94rem;
}

.home-quality-band {
    background:
        linear-gradient(120deg, rgba(3, 25, 36, 0.98), rgba(8, 55, 68, 0.96)),
        var(--deep-dark);
}

.home-quality-layout {
    align-items: start;
}

.quality-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
}

.quality-metrics div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.home-cta-band {
    color: #fff;
    background:
        linear-gradient(100deg, rgba(5, 42, 55, 0.98), rgba(21, 95, 184, 0.9)),
        var(--blue-dark);
}

.home-cta-inner {
    align-items: center;
}

.home-cta-inner p:not(.eyebrow) {
    max-width: 720px;
    color: #d3e5ed;
}

.eyebrow,
.tag {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section {
    padding: clamp(64px, 9vw, 110px) 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
    color: var(--muted);
}

.product-band {
    background: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.product-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 30px rgba(20, 33, 45, 0.06);
}

.product-image {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    padding: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
}

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

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.product-card h2,
.product-card h3 {
    font-size: 1.25rem;
}

.product-card p {
    color: var(--muted);
}

.product-summary {
    min-height: 78px;
}

.card-specs {
    display: grid;
    gap: 0;
    margin: 6px 0 22px;
    border-top: 1px solid var(--line);
}

.card-specs div {
    display: grid;
    grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
}

.card-specs dt {
    color: var(--muted);
    font-weight: 800;
}

.card-specs dd {
    margin: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.product-card-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 9px;
    margin-top: auto;
}

.product-card-actions .button {
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.82rem;
    text-align: center;
}

.catalog-empty-state {
    max-width: 920px;
    margin-top: 28px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(23, 103, 194, 0.08), rgba(7, 151, 101, 0.08)),
        #fff;
    box-shadow: 0 18px 44px rgba(20, 33, 45, 0.08);
}

.catalog-empty-state[hidden] {
    display: none;
}

.catalog-empty-state h2 {
    max-width: 680px;
    margin-bottom: 14px;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.catalog-empty-state p:not(.eyebrow) {
    max-width: 760px;
    color: var(--muted);
}

.catalog-empty-state .hero-actions {
    margin-top: 24px;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
}

.section-action {
    margin-top: 32px;
    text-align: center;
}

.compact-head {
    grid-template-columns: 1fr;
}

.category-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.category-platforms article {
    min-height: 240px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.category-platforms span {
    display: block;
    margin-bottom: 34px;
    color: var(--gold);
    font-weight: 900;
}

.category-platforms p {
    color: var(--muted);
}

.quality-band {
    color: #fff;
    background: #15344a;
}

.quality-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
}

.quality-layout p {
    color: #c5d5df;
}

.quality-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quality-list li {
    position: relative;
    padding: 18px 20px 18px 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.quality-list li::before {
    position: absolute;
    left: 20px;
    top: 19px;
    content: "✓";
    color: #6ee0ae;
    font-weight: 900;
}

.muted .quality-list li {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.company-stats {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.company-stats div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: #fff;
}

.company-stats strong {
    color: var(--blue);
    font-size: 1.55rem;
}

.company-stats span {
    color: var(--muted);
}

.mission-band h2 {
    max-width: 980px;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.catalog-filter {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #fff;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.catalog-filter.is-active,
.catalog-filter:hover {
    color: #fff;
    border-color: var(--blue);
    background: var(--blue);
}

.product-card[hidden] {
    display: none;
}

.split-band {
    background: var(--soft);
}

.split-layout,
.two-column,
.contact-layout,
.form-layout,
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: clamp(30px, 6vw, 72px);
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list div,
.quiet-panel,
.spec-panel,
.contact-panel,
.service-grid article,
.capability-item,
.process-grid div {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.feature-list div {
    padding: 20px;
}

.feature-list strong,
.feature-list span {
    display: block;
}

.feature-list span {
    margin-top: 6px;
    color: var(--muted);
}

.capability-band {
    background: #fff;
}

.capability-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.capability-item {
    padding: 24px;
}

.capability-item p {
    color: var(--muted);
}

.cta-band {
    padding: 54px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--blue-dark), var(--green));
}

.cta-inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

.cta-inner h2 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4vw, 3.3rem);
}

.cta-inner .eyebrow {
    color: #d7f1e7;
}

.site-footer {
    color: #d6e2ec;
    background: #111b24;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 36px;
    padding: 54px 0;
}

.footer-logo {
    width: 190px;
    height: 62px;
}

.footer-grid p,
.footer-grid small {
    color: #9fb1c0;
}

.footer-grid h2 {
    font-size: 1rem;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    color: #9fb1c0;
    font-size: 0.9rem;
}

.page-hero,
.product-detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 72vh, 760px);
    padding: clamp(78px, 10vh, 132px) 0;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.6) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/biopsy-long-main.png') no-repeat right 4vw center / min(52vw, 840px),
        var(--deep-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero::before,
.product-detail-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.18;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px) 0 0 / 104px 100%;
}

.page-hero .wrap,
.product-detail-layout {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 820px;
    color: #fff;
    font-size: clamp(3rem, 5.6vw, 6.25rem);
}

.products-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.56) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/catalog/arthroscopic-shaver-blade.png') no-repeat right 3vw center / min(54vw, 900px),
        var(--deep-dark);
}

.about-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.58) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/biopsy-long-main.png') no-repeat right 4vw center / min(52vw, 860px),
        var(--deep-dark);
}

.oem-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.56) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/catalog/spinal-cutting-bur.png') no-repeat right 3vw center / min(54vw, 900px),
        var(--deep-dark);
}

.contact-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.58) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/biopsy-green-main.png') no-repeat right 4vw center / min(48vw, 760px),
        var(--deep-dark);
}

.quote-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 46%, rgba(5, 42, 55, 0.56) 70%, rgba(2, 23, 33, 0.98) 100%),
        url('../img/biopsy-blue-alt.png') no-repeat right 4vw center / min(48vw, 760px),
        var(--deep-dark);
}

.product-detail-hero {
    background:
        linear-gradient(105deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.98) 42%, rgba(7, 55, 70, 0.88) 70%, rgba(2, 23, 33, 0.98) 100%),
        var(--deep-dark);
}

.product-detail-hero h1 {
    max-width: 880px;
    color: #fff;
    font-size: clamp(3rem, 5.2vw, 6.25rem);
}

.product-detail-hero .product-detail-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
    align-items: center;
    width: min(1740px, calc(100% - 64px));
}

.page-hero p:not(.eyebrow),
.product-detail-hero p:not(.eyebrow) {
    max-width: 650px;
    color: #c6d6df;
    font-size: 1.15rem;
}

.hero .eyebrow,
.page-hero .eyebrow,
.product-detail-hero .eyebrow {
    color: #38d49b;
}

.hero .button-secondary,
.page-hero .button-secondary,
.product-detail-hero .button-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.muted {
    background: var(--soft);
}

.prose {
    max-width: 760px;
}

.prose p,
.prose li {
    color: var(--muted);
}

.quiet-panel,
.spec-panel,
.contact-panel {
    padding: 28px;
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 0.16em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    content: "";
    background: var(--green);
}

.check-list li::after {
    position: absolute;
    left: 5px;
    top: 0.46em;
    width: 6px;
    height: 3px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    content: "";
    transform: rotate(-45deg);
}

.process-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid div,
.service-grid article {
    padding: 24px;
}

.process-grid p,
.service-grid p {
    color: var(--muted);
}

.step {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-weight: 900;
}

.detail-image {
    position: relative;
    justify-self: end;
    width: min(100%, 820px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.detail-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center top;
    filter: drop-shadow(0 34px 62px rgba(0, 0, 0, 0.34));
    transform-origin: center top;
    transform: scale(1.06);
}

.gallery-section {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    display: grid;
    min-height: 210px;
    place-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f5f8fa);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: contain;
}

.spec-panel dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.spec-panel div {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.spec-panel dt {
    color: var(--muted);
    font-weight: 800;
}

.spec-panel dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.fine-print {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.rfq-form {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(20, 33, 45, 0.08);
}

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

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

label span {
    font-size: 0.86rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cdd8df;
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(21, 95, 184, 0.16);
    border-color: var(--blue);
}

.notice-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(21, 122, 81, 0.28);
    border-radius: 8px;
    color: #0c5a3a;
    background: #eaf8f2;
    font-weight: 800;
}

.contact-layout {
    grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1fr);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    display: inline-flex;
    min-height: 52px;
    gap: 9px;
    align-items: center;
    padding: 0 17px;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    background: #128c5e;
    box-shadow: 0 16px 38px rgba(10, 70, 45, 0.3);
    font-weight: 900;
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 20px;
}

[dir="rtl"] .check-list li,
[dir="rtl"] .quality-list li {
    padding-right: 50px;
    padding-left: 20px;
}

[dir="rtl"] .check-list li::before,
[dir="rtl"] .check-list li::after,
[dir="rtl"] .quality-list li::before {
    right: 20px;
    left: auto;
}

[dir="rtl"] .check-list li {
    padding-right: 26px;
}

[dir="rtl"] .check-list li::before {
    right: 0;
}

[dir="rtl"] .check-list li::after {
    right: 5px;
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        justify-content: space-between;
    }

    .header-tools {
        grid-column: 3;
        grid-row: 1;
    }

    .nav-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        padding: 0 0 18px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .menu {
        display: grid;
        gap: 0;
    }

    .menu a {
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .header-rfq {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 54px 0 64px;
        background:
            linear-gradient(110deg, rgba(3, 26, 38, 0.99) 0%, rgba(5, 42, 55, 0.96) 58%, rgba(2, 25, 36, 0.98) 100%),
            var(--deep-dark);
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-hero-shell {
        grid-template-columns: 1fr;
        padding-bottom: 34px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-media {
        width: min(720px, 100%);
        margin: 0 auto;
    }

    .home-hero .hero-showcase {
        width: min(780px, 100%);
    }

    .home-proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 8px;
        margin-bottom: 32px;
    }

    .factory-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .factory-photo,
    .factory-photo-large {
        grid-row: auto;
        min-height: 360px;
    }

    .home-proof-strip div:nth-child(2) {
        border-right: 0;
    }

    .product-detail-hero .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        width: min(100% - 40px, var(--wrap));
    }

    .detail-image {
        justify-self: center;
        width: min(760px, 100%);
    }

    .section-head,
    .split-layout,
    .two-column,
    .contact-layout,
    .form-layout,
    .product-detail-layout,
    .capability-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .process-grid,
    .service-grid,
    .home-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quality-layout {
        grid-template-columns: 1fr;
    }

    .quality-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body {
        overflow-x: hidden;
    }

    .wrap {
        width: min(100% - 28px, var(--wrap));
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 54px 0;
    }

    .section-head {
        gap: 18px;
        margin-bottom: 24px;
    }

    .hero-copy h1,
    .page-hero h1,
    .product-detail-hero h1 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .home-hero {
        padding-top: 36px;
    }

    .home-hero .hero-copy h1 {
        font-size: clamp(2.08rem, 9.4vw, 3rem);
    }

    .home-hero .hero-lede {
        font-size: 1rem;
    }

    .home-hero .hero-system-list {
        display: none;
    }

    .factory-photo,
    .factory-photo-large {
        min-height: 260px;
    }

    .factory-photo figcaption {
        padding: 18px;
    }

    .factory-photo figcaption p {
        font-size: 0.88rem;
    }

    .brand-logo {
        width: 126px;
        height: 46px;
    }

    .header-inner {
        width: min(100% - 28px, var(--wrap));
        min-height: 70px;
        gap: 12px;
    }

    .language-button {
        width: 56px;
        padding: 0 8px;
        justify-content: center;
    }

    .language-long {
        display: none;
    }

    .language-short {
        display: inline;
    }

    .header-tools {
        gap: 4px;
    }

    .hero-proof,
    .home-proof-strip,
    .product-grid,
    .process-grid,
    .service-grid,
    .form-grid,
    .category-platforms,
    .home-platform-grid,
    .quality-metrics {
        grid-template-columns: 1fr;
    }

    .home-proof-strip div,
    .home-proof-strip div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .home-proof-strip div:last-child {
        border-bottom: 0;
    }

    .hero-proof div {
        padding: 14px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-actions,
    .cta-inner {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .button {
        width: 100%;
        min-height: 46px;
        padding-right: 14px;
        padding-left: 14px;
        white-space: normal;
    }

    .product-card-actions {
        grid-template-columns: 1fr;
    }

    .product-card-body {
        padding: 20px;
    }

    .product-card h2,
    .product-card h3 {
        font-size: 1.18rem;
    }

    .product-summary {
        min-height: 0;
    }

    .card-specs div {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 10px 0;
    }

    .page-hero,
    .products-hero,
    .quote-hero {
        min-height: auto;
        padding: 56px 0 230px;
        background-position: center, right -44px bottom 24px, center;
        background-size: auto, min(112vw, 540px), auto;
    }

    .product-detail-hero {
        min-height: auto;
        padding: 44px 0 54px;
    }

    .product-detail-hero h1 {
        font-size: clamp(2.12rem, 10.8vw, 3.25rem);
    }

    .product-detail-hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .product-detail-hero .hero-actions {
        gap: 10px;
        margin: 24px 0 0;
    }

    .product-detail-hero .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        width: min(100% - 28px, var(--wrap));
    }

    .detail-image {
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        background: #fff;
    }

    .detail-image img {
        padding: 12px;
        max-height: none;
        object-fit: contain;
        filter: none;
        transform: none;
    }

    .product-image {
        min-height: 0;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item,
    .gallery-item img {
        min-height: 220px;
        height: 220px;
    }

    .rfq-form {
        padding: 18px;
    }

    .quiet-panel,
    .spec-panel,
    .contact-panel {
        padding: 22px;
    }

    .spec-panel div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .whatsapp-float {
        width: 52px;
        padding: 0;
        justify-content: center;
    }

    .whatsapp-float span {
        display: none;
    }
}

@media (max-width: 420px) {
    .wrap,
    .header-inner,
    .product-detail-hero .product-detail-layout {
        width: min(100% - 24px, var(--wrap));
    }

    .brand-logo {
        width: 112px;
        height: 42px;
    }

    .header-inner {
        min-height: 68px;
        gap: 8px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .language-button {
        width: 54px;
        min-height: 42px;
    }

    .home-hero .hero-copy h1,
    .page-hero h1,
    .product-detail-hero h1 {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .home-proof-strip div,
    .quality-metrics div,
    .process-grid div,
    .service-grid article,
    .home-platform-card span,
    .home-platform-card h3,
    .home-platform-card p {
        padding-right: 18px;
        padding-left: 18px;
    }

    .factory-photo,
    .factory-photo-large {
        min-height: 240px;
    }

    .gallery-item,
    .gallery-item img {
        min-height: 200px;
        height: 200px;
    }
}
