:root {
  color-scheme: light;
  --ink: #122b40;
  --muted: #476075;
  --brand: #174e75;
  --line: #d5e0e7;
  --wash: #f0f5f8;
  --white: #fff;
  font: 100%/1.55 'Instrument Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fbfcfd;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2782b6; outline-offset: 4px; }
.shell { width: min(100% - 88px, 1264px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 2; top: 12px; inset-inline-start: 12px; padding: 12px; color: var(--white); background: var(--brand); }
.site-header { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 24px; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.language-picker { max-width: 12rem; min-height: 42px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); font-size: .91rem; cursor: pointer; }
.brand { display: inline-flex; align-items: center; gap: 8px; justify-self: start; text-decoration: none; font-size: 1.1rem; font-weight: 750; letter-spacing: .14em; line-height: 1.18; }
.brand img { object-fit: contain; border-radius: 8px; }
.brand-description { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .025em; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: .94rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'], .breadcrumbs a:hover, .footer-inner a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 48px; padding: 12px 19px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 8px; font-weight: 650; text-align: center; text-decoration: none; line-height: 1.25; transition: background-color .16s ease, border-color .16s ease; }
.button-small { min-height: 42px; padding: 8px 15px; font-size: .91rem; }
.button-primary { color: var(--white); background: var(--brand); }
.button-primary:hover { background: #123d5c; }
.button-outline { border-color: #b1c7d6; background: var(--white); color: var(--brand); }
.button-outline:hover, .button-quiet:hover { background: #e6f0f6; border-color: #a7c3d3; }
.button-quiet { color: var(--brand); background: transparent; }
.button-light { color: var(--ink); background: #f1f7fb; }
.button-light:hover { background: #d9ebf5; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch; border-radius: 19px; overflow: hidden; margin-block: 32px 57px; background: var(--wash); border: 1px solid #dce7ed; }
.hero-copy { padding: clamp(32px, 4.6vw, 69px); align-self: center; }
.eyebrow { color: #245f80; font-size: .81rem; font-weight: 750; letter-spacing: .12em; }
.hero h1 { margin-top: 15px; font-size: clamp(2.55rem, 4.85vw, 4.4rem); letter-spacing: -.071em; font-weight: 750; line-height: .99; }
:lang(fr) .hero h1 { font-size: clamp(2rem, 4.4vw, 3.9rem); overflow-wrap: anywhere; }
.hero-description { margin-top: 22px; max-width: 410px; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 25px; }
.hero-photo { position: relative; min-height: 400px; overflow: hidden; background: #e3ebee; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 52% 50%; }
.hero-photo figcaption { position: absolute; inset-inline-start: 17px; bottom: 17px; background: #112c41; color: var(--white); padding: 6px 11px; border-radius: 5px; font-size: .8rem; }

.catalog-section { scroll-margin-top: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.14; font-weight: 720; letter-spacing: -.05em; }
.search-box { display: flex; align-items: center; gap: 12px; min-height: 46px; width: min(100%, 294px); flex-shrink: 0; border-radius: 8px; border: 1px solid #b9cbd6; background: var(--white); padding: 0 12px; }
.search-box:focus-within { outline: 2px solid #2782b6; outline-offset: 2px; }
.search-box input { background: transparent; color: var(--ink); border: 0; min-inline-size: 0; width: 100%; min-height: 44px; outline: none; }
.search-box input::placeholder { color: #527082; }
.search-icon { position: relative; flex: 0 0 13px; height: 13px; border-radius: 50%; border: 1.75px solid #45667e; margin-inline-end: 3px; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 2px; background: #45667e; transform: rotate(45deg); top: 10px; left: 8px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 19px 0 21px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 7px 13px; border-radius: 50px; min-height: 39px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 620; }
.filter:hover { background: #e6f0f6; border-color: #a7c3d3; }
.filter[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.result-count { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 13px; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease; }
.product-card:hover { border-color: #7da7bf; box-shadow: 0 5px 21px #173b5211; }
.product-card:hover .card-action { text-decoration: underline; text-underline-offset: 4px; }
.card-media { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 1.27; padding: 12px; background: var(--wash); border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media picture, .photo-selector picture, .photo-zoom-trigger picture { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.card-media img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.video-tag { position: absolute; bottom: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #c0d1dd; border-radius: 5px; color: #1b415d; background: var(--white); padding: 4px 8px; font-size: .77rem; font-weight: 650; }
.video-tag::before { content: ''; border-left: 7px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.card-content { display: flex; flex: 1; flex-direction: column; padding: 15px 15px 14px; }
.card-content h3 { font-size: 1.13rem; line-height: 1.25; font-weight: 710; letter-spacing: -.025em; }
.card-type { color: var(--muted); font-size: .89rem; margin-top: 4px; margin-bottom: 13px; }
.card-action { color: var(--brand); font-size: .88rem; font-weight: 700; margin-top: auto; }
.empty-state { background: var(--wash); border-radius: 12px; text-align: center; padding: 38px 16px; }
.empty-state .button { margin-top: 14px; }

.about-page { padding-block: 32px 55px; }
.about-card { background: #15364e; color: var(--white); border-radius: 16px; padding: clamp(28px, 4.2vw, 55px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 72px); }
.about-card .eyebrow { color: #b8d7e9; margin-bottom: 11px; }
.about-card h1 { max-width: 490px; font-size: clamp(2.25rem, 4.25vw, 3.65rem); line-height: 1.08; letter-spacing: -.055em; overflow-wrap: anywhere; }
.about-copy { color: #eff6fa; }
.about-copy p + p { margin-top: 12px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about-facility { margin-top: clamp(28px, 4.2vw, 45px); }
.facility-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 17px; }
.facility-gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.facility-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--wash); }
.facility-gallery figcaption { padding: 12px 15px; font-weight: 650; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 24px; row-gap: 6px; padding-block: 19px; font-size: .89rem; }
.footer-inner a { text-decoration: none; }

.product-page { padding-block: 23px 56px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); margin-bottom: 25px; font-size: .94rem; }
.breadcrumbs a { color: var(--brand); text-underline-offset: 3px; }
.breadcrumbs span::before { content: '/'; margin-inline-end: 12px; color: #728696; }
.detail-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: start; gap: clamp(25px, 5.3vw, 75px); }
.current-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 9px; height: clamp(290px, 42vw, 575px); border-radius: 14px; padding: 17px; background: var(--wash); border: 1px solid var(--line); }
.photo-stage { display: grid; min-width: 0; min-height: 0; }
.photo-zoom-trigger { position: relative; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: zoom-in; }
.current-photo img { width: 100%; height: 100%; object-fit: contain; }
@supports (container-type: size) and (width: 1cqw) {
  .photo-stage { container-type: size; place-items: center; }
  .photo-zoom-trigger picture { width: auto; height: auto; }
  .current-photo img { width: auto; height: auto; max-width: 100cqw; max-height: 100cqh; }
}
.photo-zoom-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgb(255 255 255 / .94);
  color: var(--brand);
}
.photo-zoom-icon::before, .photo-zoom-icon::after {
  content: '';
  position: absolute;
}
.photo-zoom-icon::before {
  top: 7px;
  left: 7px;
  width: 11px;
  height: 11px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.photo-zoom-icon::after {
  top: 16px;
  left: 16px;
  width: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.photo-zoom-trigger:hover .photo-zoom-icon { border-color: var(--brand); background: var(--white); }
.current-photo figcaption { font-size: .875rem; color: var(--muted); text-align: center; }
.photo-selector { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.photo-selector button { width: 76px; height: 64px; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); padding: 3px; }
.photo-selector button:hover, .photo-selector button[aria-pressed='true'] { border: 2px solid var(--brand); padding: 2px; }
.photo-selector img { width: 100%; height: 100%; object-fit: contain; }
.photo-dialog { --photo-dialog-inset: 24px; margin: auto; padding: 0; max-width: calc(100% - 24px); max-height: calc(100% - 24px); border: 0; border-radius: 12px; background: var(--white); }
.photo-dialog-multiple { --photo-dialog-inset: 76px; }
.photo-dialog::backdrop { background: rgb(8 24 38 / .85); }
.photo-dialog img { display: block; margin-inline: auto; width: auto; height: auto; max-width: calc(100vw - 24px); max-height: calc(100vh - var(--photo-dialog-inset)); max-height: calc(100dvh - var(--photo-dialog-inset)); }
.photo-dialog-multiple img { touch-action: pan-y pinch-zoom; }
.photo-dialog-navigation { display: flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding-inline: 8px; border-top: 1px solid var(--line); }
.photo-dialog-navigation button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--brand); font-size: 1.6rem; line-height: 1; }
.photo-dialog-navigation button:hover:not(:disabled) { background: var(--wash); }
.photo-dialog-navigation button:disabled { opacity: .35; cursor: default; }
.photo-dialog-caption { min-width: 4em; color: var(--muted); font-size: .875rem; text-align: center; }
.photo-dialog-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .65); border-radius: 50%; padding: 0; background: var(--ink); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
html:has(.photo-dialog[open]) { overflow: hidden; }
.detail-copy { padding-top: 12px; }
.detail-copy h1 { margin-top: 8px; font-size: clamp(2.35rem, 5vw, 4.25rem); letter-spacing: -.063em; line-height: 1.06; font-weight: 750; overflow-wrap: anywhere; }
.detail-description { margin-top: 21px; color: var(--muted); font-size: 1.05rem; }
.detail-description p + p { margin-top: 12px; }
.detail-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.shipping { font-size: .9rem; color: var(--muted); margin-top: 11px; }
.demo { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.demo h2 { margin-bottom: 17px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.demo-card { display: grid; align-content: start; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.demo-card h3 { font-size: 1rem; line-height: 1.3; }
.demo-card video, .video-preview { width: 100%; aspect-ratio: 4 / 5; max-height: 450px; object-fit: contain; background: #132a3c; border-radius: 8px; }
.video-preview { position: relative; padding: 0; border: 0; }
.facility-video { max-width: 345px; margin-top: 18px; }
.facility-video video, .facility-video .video-preview { aspect-ratio: 9 / 16; max-height: none; }
.video-preview img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.video-play-icon { position: absolute; inset: 0; display: grid; place-items: center; width: 48px; height: 48px; margin: auto; border: 1px solid #fff; border-radius: 50%; background: #132a3c; color: #fff; }
.video-play-icon::after { content: ''; margin-left: 4px; border-block: 8px solid transparent; border-left: 12px solid currentColor; }
.video-file-link { justify-self: start; color: var(--brand); font-size: .875rem; font-weight: 650; text-underline-offset: 3px; }
.not-found h1 { margin-bottom: 17px; }

[dir='rtl'] { font-family: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif; }
[dir='rtl'] .eyebrow, [dir='rtl'] .brand-description, [dir='rtl'] h1 { letter-spacing: normal; }
[dir='rtl'] .hero h1, [dir='rtl'] .detail-copy h1, [dir='rtl'] .about-card h1 { line-height: 1.28; }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 56px); }
  .hero-copy { padding: 31px; }
  .hero-photo { min-height: 360px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .wide-only { display: none; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { min-height: 68px; grid-template-columns: 1fr auto; gap: 8px 10px; padding-block: 6px 9px; }
  .site-nav { grid-column: 1; grid-row: 2; gap: 14px; padding-inline-start: 4px; }
  .header-actions { display: contents; }
  .language-picker { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-actions > .button { grid-column: 2; grid-row: 2; justify-self: end; }
  .brand img { width: 44px; height: 44px; }
  .hero { grid-template-columns: 1fr; margin-block: 20px 36px; }
  .hero-copy { padding: 26px 20px; }
  .hero h1 { max-width: 570px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 17px; }
  .hero-photo { min-height: 0; height: clamp(220px, 54vw, 330px); }
  .hero-photo figcaption { inset-inline-start: 12px; bottom: 12px; }
  .section-heading, .catalog-toolbar { align-items: start; flex-direction: column; gap: 10px; }
  .search-box { width: 100%; }
  .catalog-toolbar { margin-top: 13px; margin-bottom: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .card-media { padding: 8px; }
  .card-content { padding: 11px; }
  .card-content h3 { overflow-wrap: anywhere; }
  .card-type { margin-bottom: 9px; }
  .about-page { padding-block: 22px 36px; }
  .about-card, .detail-layout { grid-template-columns: 1fr; }
  .facility-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
  .detail-copy { padding-top: 0; }
  .product-page { padding-bottom: 36px; }
}
@media (max-width: 360px) {
  .hero-actions .button { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
