:root {
  --primary: #0d5c63;
  --primary-dark: #084c52;
  --accent: #e35d2f;
  --accent-soft: #fff2ed;
  --text: #1f2937;
  --muted: #59687a;
  --surface: #ffffff;
  --surface-alt: #f4f8f7;
  --border: #dfe8e6;
  --shadow: 0 14px 36px rgba(13, 92, 99, 0.1);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex: 0 1 400px;
  min-width: 330px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #07518c;
  line-height: 1.08;
}
.brand:hover { color: #07518c; }
.brand-logo-frame { position: relative; flex: 0 0 auto; width: 70px; height: 36px; overflow: hidden; }
.brand-logo { position: absolute; width: 77px; height: 77px; max-width: none; left: -4px; top: -22px; }
.brand-copy { min-width: 0; display: block; }
.brand-copy strong,
.brand-copy > span { display: block; white-space: nowrap; }
.brand-copy strong { font-size: .98rem; font-weight: 850; letter-spacing: .01em; }
.brand-copy > span { margin-top: 7px; color: #0862df; font-size: .86rem; font-weight: 800; letter-spacing: .035em; }
.header-actions { display: flex; align-items: center; gap: 14px; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
nav a {
  position: relative;
  color: var(--text);
  font-size: .96rem;
  font-weight: 700;
  white-space: nowrap;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transition: right .2s ease;
}
nav a:hover::after, nav a.active::after { right: 0; }
.language-select {
  padding: 8px 28px 8px 10px;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
}

main { flex: 1; }
.hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--primary-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/old/images/201e43ed.jpg") center / cover no-repeat;
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 50, 55, .93) 0%, rgba(13, 92, 99, .73) 50%, rgba(13, 92, 99, .28) 100%);
}
.hero-content { position: relative; z-index: 1; width: min(760px, 92%); padding: 82px 0; }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.35rem, 5.5vw, 4.45rem); line-height: 1.06; }
.hero p { max-width: 680px; margin: 0 0 32px; font-size: clamp(1.08rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 9px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(227, 93, 47, .28); }
.button.secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .65); }
.button.secondary:hover { background: rgba(255, 255, 255, .1); }
.button.small { min-height: 40px; padding: 8px 15px; font-size: .96rem; }

.page-hero {
  padding: 76px 0 64px;
  color: #fff;
  background: linear-gradient(110deg, var(--primary-dark), var(--primary) 65%, #21857d);
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(2.1rem, 4vw, 3.35rem); line-height: 1.15; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.15rem; }
.breadcrumb { margin-bottom: 14px; color: rgba(255, 255, 255, .76); font-size: .95rem; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: #fff; }

.section { padding: 84px 0; }
.section.alt { background: var(--surface-alt); }
.section-heading { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 0 0 12px; color: var(--primary); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.2; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-body { padding: 28px; }
.card h3, .card h4 { margin: 0 0 9px; color: var(--primary); }
.card p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-card { padding: 28px; border-top: 4px solid var(--accent); }
.feature-number { display: block; margin-bottom: 8px; color: var(--accent); font-size: .8rem; font-weight: 800; }

.content-stack { display: grid; gap: 34px; }
.content-panel {
  scroll-margin-top: 105px;
  padding: clamp(30px, 4.5vw, 52px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-panel > h2 { margin: 0 0 26px; color: var(--primary); font-size: 1.9rem; }
.rich-content { color: #334155; font-size: 1.04rem; line-height: 1.82; overflow-wrap: anywhere; }
.rich-content span[style*="font-size"],
.rich-content div[style*="font-size"],
.rich-content p[style*="font-size"],
.rich-content td[style*="font-size"] { font-size: inherit !important; }
.rich-content [style*="line-height"] { line-height: inherit !important; }
.rich-content [style*="text-align: justify"] { text-align: left !important; }
.rich-content div[style*="margin:20px"] { margin: 0 !important; }
.rich-content p > strong:only-child { font-weight: 650; }
.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { color: var(--primary); line-height: 1.3; }
.rich-content p { margin: .9em 0; }
.rich-content ul, .rich-content ol { padding-left: 1.4rem; }
.rich-content li + li { margin-top: .35em; }
.rich-content img { max-height: 720px; margin: 16px auto; object-fit: contain; border-radius: 8px; }
.rich-content table { width: 100% !important; margin: 18px 0; border-collapse: collapse; border-spacing: 0; }
.rich-content th, .rich-content td { padding: 13px 14px !important; border: 1px solid var(--border) !important; text-align: left; vertical-align: top; }
.rich-content th { color: var(--primary-dark); background: var(--surface-alt); }
.rich-content a { text-decoration: underline; text-underline-offset: 2px; }
.rich-content .FactSheetl { float: left; width: min(210px, 100%); margin: 0 28px 20px 0; text-align: center; }
.rich-content .FactSheet { min-width: 0; }
.rich-content .Entry { margin-bottom: 18px; }
.rich-content .Entry h3 { margin: 0 0 6px; }
.rich-content::after { content: ""; display: table; clear: both; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -42px; position: relative; z-index: 2; }
.stat { padding: 25px 18px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.stat strong { display: block; color: var(--primary); font-size: 1.8rem; }
.stat span { color: var(--muted); font-size: 1rem; }

.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.category-tab {
  padding: 10px 17px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.category-tab:hover, .category-tab.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.product-catalog-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; align-items: start; }
.product-category-sidebar { position: sticky; top: 92px; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.product-category-sidebar h2 { margin: 0; padding: 18px 20px; color: #fff; background: var(--primary); font-size: 1.15rem; }
.product-category-sidebar nav { display: grid; padding: 8px; }
.product-category-sidebar a { position: relative; padding: 12px 13px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 700; line-height: 1.35; }
.product-category-sidebar a:last-child { border-bottom: 0; }
.product-category-sidebar a:hover, .product-category-sidebar a.active { color: var(--primary); background: var(--surface-alt); }
.product-category-sidebar a.active::before { content: ""; position: absolute; inset: 9px auto 9px 0; width: 4px; border-radius: 3px; background: var(--accent); }
[dir="rtl"] .product-category-sidebar a.active::before { right: 0; left: auto; }
.product-results { min-width: 0; }
.search-box { display: flex; width: min(620px, 100%); margin: 0 auto 34px; }
.search-box input { width: 100%; min-width: 0; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px 0 0 10px; outline: none; }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 92, 99, .1); }
.search-box button { padding: 0 22px; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: 0 10px 10px 0; font-weight: 750; white-space: nowrap; cursor: pointer; }
.search-result-summary { margin: -18px auto 28px; color: var(--muted); text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.product-card-media { position: relative; }
.product-card-content { display: flex; flex: 1; color: inherit; }
.product-card .image-wrap { height: 205px; padding: 22px; display: grid; place-items: center; overflow: hidden; background: #f8fbfa; border-bottom: 1px solid var(--border); }
.product-card .image-wrap img { width: auto; height: auto; max-width: 100%; max-height: 160px; object-fit: contain; }
.product-card-image[hidden] { display: none; }
.product-card-gallery-dots { position: absolute; z-index: 1; left: 16px; bottom: 12px; display: flex; max-width: calc(100% - 32px); gap: 8px; padding: 5px 7px; overflow-x: auto; background: rgba(255, 255, 255, .82); border-radius: 999px; scrollbar-width: none; }
.product-card-gallery-dots::-webkit-scrollbar { display: none; }
.product-card-gallery-dot { flex: 0 0 auto; width: 12px; height: 12px; padding: 0; background: rgba(255, 255, 255, .92); border: 1px solid #80908e; border-radius: 50%; cursor: pointer; }
.product-card-gallery-dot.active { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); }
.product-card-gallery-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.product-placeholder { display: grid; justify-items: center; gap: 10px; color: #6c8582; font-size: .92rem; font-weight: 700; text-align: center; }
.product-placeholder svg { width: 64px; height: 64px; fill: none; stroke: #719b96; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.product-card .card-body { display: flex; flex: 1; flex-direction: column; }
.product-card .category { margin-bottom: 7px; color: var(--accent); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { font-size: 1.25rem; line-height: 1.4; }
.product-card .summary { margin-bottom: 21px; font-size: 1rem; line-height: 1.68; }
.product-card .button { align-self: flex-start; margin-top: auto; }
.product-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.product-pagination a { min-width: 42px; padding: 10px 13px; color: var(--primary); background: #fff; border: 1px solid var(--border); border-radius: 8px; font-weight: 750; text-align: center; }
.product-pagination a:hover, .product-pagination a.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.language-note { margin: 0 0 20px; padding: 11px 14px; color: #7c4b18; background: #fff7e8; border: 1px solid #f3d7aa; border-radius: 8px; }
.empty-state { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--muted); background: var(--surface-alt); border-radius: var(--radius); }

.article-list { display: grid; gap: 16px; }
.article-card { min-width: 0; padding: 28px; display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.article-card > * { min-width: 0; }
.article-card h2, .article-card h3, .article-card p { overflow-wrap: anywhere; }
.article-number { color: var(--primary); font-size: 1.5rem; font-weight: 850; }
.article-card h2 { margin: 0; font-size: 1.24rem; line-height: 1.45; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

.product-gallery { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; max-width: 760px; margin: 24px 0; }
.product-gallery-stage { aspect-ratio: 1; min-width: 0; overflow: hidden; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px; }
.product-gallery-slide { width: 100%; height: 100%; display: grid; place-items: center; }
.product-gallery-slide[hidden] { display: none; }
.product-gallery-slide img, .product-gallery-slide iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.product-gallery-rail { min-width: 0; display: grid; grid-template-rows: 40px minmax(0, 1fr) 40px; gap: 8px; }
.product-gallery-thumbs { min-height: 0; display: grid; align-content: start; gap: 8px; overflow-y: auto; scrollbar-width: thin; }
.product-gallery-thumb { position: relative; width: 100%; aspect-ratio: 1; padding: 3px; overflow: hidden; background: #fff; border: 2px solid var(--border); border-radius: 8px; cursor: pointer; }
.product-gallery-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(227, 93, 47, .13); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(8, 76, 82, .4); font-size: 1.35rem; }
.gallery-arrow { display: grid; place-items: center; min-width: 40px; min-height: 40px; color: var(--primary); background: #fff; border: 1px solid var(--border); border-radius: 8px; font-weight: 800; cursor: pointer; }
.gallery-arrow:disabled { opacity: .4; cursor: default; }
.product-gallery-empty { max-width: 760px; margin: 24px 0; padding: 36px 20px; color: var(--muted); background: var(--surface-alt); border: 1px dashed var(--border); border-radius: 12px; text-align: center; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 28px; align-items: start; }
.contact-layout-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.contact-form { display: grid; gap: 18px; padding: 34px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); }
.field { display: grid; gap: 6px; }
.field label { color: var(--primary-dark); font-size: 1rem; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 13px 14px; background: #fff; border: 1px solid var(--border); border-radius: 8px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 92, 99, .1); }
.field textarea { min-height: 140px; resize: vertical; }

.cta-band { padding: 46px 0; color: #fff; background: var(--primary); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { margin: 0; font-size: 1.8rem; }
.cta-inner p { margin: 6px 0 0; color: rgba(255,255,255,.8); }

footer { margin-top: auto; padding: 44px 0; color: rgba(255, 255, 255, .88); background: #073f44; font-size: 1rem; line-height: 1.75; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: end; }
footer strong { color: #fff; }
footer p { margin: 7px 0; color: inherit; }
footer a { color: #fff; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-underline-offset: 3px; }
footer a:hover { color: #ffd6c7; text-decoration-color: currentColor; }
.footer-contact { padding-bottom: 64px; text-align: right; color: #fff; }
.footer-contact-copy { padding: 0; color: #fff; background: transparent; border: 0; border-bottom: 1px dashed rgba(255,255,255,.6); font: inherit; font-weight: 750; cursor: pointer; }
.footer-contact-copy:hover { color: #ffd6c7; border-color: currentColor; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 14px; }
.footer-social-link { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .88rem; line-height: 1; text-decoration: none; }
.footer-social-link:hover { border-color: currentColor; background: rgba(255,255,255,.14); }

@media (max-width: 1080px) {
  .brand { flex-basis: 350px; min-width: 305px; gap: 8px; }
  .brand-logo-frame { width: 60px; height: 31px; }
  .brand-logo { width: 66px; height: 66px; left: -3px; top: -19px; }
  .brand-copy strong { font-size: .86rem; }
  .brand-copy > span { margin-top: 5px; font-size: .73rem; letter-spacing: .02em; }
  nav { gap: 12px; }
  nav a { font-size: .9rem; }
}
@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }
  .header-inner { min-height: 68px; }
  .brand { flex: 1; min-width: 0; }
  .menu-toggle { display: inline-grid; place-items: center; }
  nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow: auto;
    padding: 18px 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  nav.open { display: flex; }
  nav a { padding: 13px 5px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  nav a::after { display: none; }
  .grid.cols-3, .product-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .product-catalog-layout { grid-template-columns: 1fr; gap: 22px; }
  .product-category-sidebar { position: static; }
  .product-category-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .product-category-sidebar a { border: 0; background: var(--surface-alt); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 30px, 1180px); }
  .header-inner { gap: 4px; }
  .brand { min-width: 0; gap: 4px; }
  .brand-logo-frame { width: 38px; height: 20px; }
  .brand-logo { width: 42px; height: 42px; left: -2px; top: -12px; }
  .brand-copy strong { font-size: clamp(.49rem, 2vw, .6rem); letter-spacing: 0; }
  .brand-copy > span { margin-top: 4px; font-size: clamp(.43rem, 1.8vw, .54rem); letter-spacing: 0; }
  .header-actions { flex: 0 0 auto; gap: 3px; }
  .language-select { width: 66px; padding: 6px 2px; font-size: .7rem; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero { min-height: 510px; }
  .hero-content { padding: 64px 0; }
  .page-hero { padding: 56px 0 50px; }
  .section { padding: 62px 0; }
  .grid.cols-2, .grid.cols-3, .product-grid, .gallery { grid-template-columns: 1fr; }
  .stats { margin-top: 20px; }
  .stat { padding: 18px 12px; }
  .content-panel { padding: 26px 20px; }
  .rich-content .FactSheetl { float: none; width: 100%; margin-right: 0; }
  .rich-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .product-gallery { grid-template-columns: 1fr; gap: 10px; max-width: none; }
  .product-gallery-rail { grid-template: 44px / 44px minmax(0, 1fr) 44px; align-items: center; }
  .product-gallery-thumbs { grid-auto-flow: column; grid-auto-columns: 68px; overflow-x: auto; overflow-y: hidden; }
  .product-gallery-thumb { width: 68px; }
  .product-gallery-rail .gallery-arrow { transform: rotate(-90deg); }
  .product-category-sidebar nav { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .cta-inner, .footer-grid { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
  .footer-social { justify-content: flex-start; }
}
@media (max-width: 360px) {
  .header-inner { gap: 3px; }
  .language-select { width: 62px; }
}
