/* Shared additions keep the existing header, footer and theme palette. */
.site-affiliate { margin: 0 0 1.5rem; font-size: .875rem; color: var(--theme-text-secondary); line-height: 1.8; }
.site-affiliate a { text-decoration: underline; text-underline-offset: 3px; }
header nav a { white-space: nowrap; }
.site-language-tag { display: inline-block; margin-left: .375rem; font-size: .65rem; font-weight: 500; color: var(--theme-text-muted); vertical-align: middle; }
header .site-nav-active, html[data-theme="dark"] header .site-nav-active { color: var(--theme-text); font-weight: 500; }
.bio-divider#contact, .bio-section#contact { scroll-margin-top: 6.5rem; }
header nav .group:focus-within > div { visibility: visible; opacity: 1; }
.product-menu-panel { max-height: calc(100vh - 6rem); max-height: calc(100dvh - 6rem); overflow-y: auto; }
.product-menu-panel a { white-space: normal; }
header #mobile-menu { max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; }
.language-switch { font-size: .8125rem; font-weight: 600; text-decoration: none; }
.language-switch-desktop { display: none; width: auto; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; gap: .5rem; }
.language-switch-mobile { display: flex; justify-content: flex-start; width: 100%; min-height: 2.75rem; padding: .625rem .875rem; }
.language-menu { position: relative; }
.language-menu-desktop { display: none; }
.language-menu summary { list-style: none; cursor: pointer; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: ''; width: .375rem; height: .375rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.language-menu[open] > summary::after { transform: rotate(225deg); }
.language-switch-mobile::after { margin-left: auto; }
.language-menu[open] > summary { border-color: #a5c62c; background: var(--theme-alt); color: var(--theme-text); }
.language-menu-panel { position: absolute; top: calc(100% + .5rem); right: 0; width: 16rem; max-width: calc(100vw - 3rem); padding: .5rem; border: 1px solid var(--theme-border); border-radius: .5rem; background: var(--theme-main); box-shadow: 0 8px 24px #0002; color: var(--theme-text); z-index: 60; }
html[data-theme="dark"] .language-menu-panel { background: var(--theme-card); }
.language-menu-title { padding: .5rem .75rem; font-size: .75rem; font-weight: 600; color: var(--theme-text-muted); }
.language-menu-description { padding: 0 .75rem .5rem; font-size: .75rem; color: var(--theme-text-muted); }
.language-menu-panel a { display: block; border-radius: .375rem; padding: .75rem; }
.language-menu-panel a:hover, .language-menu-panel a:focus-visible { background: var(--theme-alt); }
.language-menu-panel strong { display: block; font-size: .875rem; font-weight: 600; }
.language-menu-panel span { display: block; margin-top: .25rem; font-size: .75rem; color: var(--theme-text-muted); }
.language-menu-mobile .language-menu-panel { position: static; width: 100%; max-width: none; margin-top: .5rem; box-shadow: none; }
@media (min-width: 1024px) {
  .language-switch-desktop { display: inline-flex; }
  .language-menu-desktop { display: block; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  header > div:first-child { padding-left: 2rem; padding-right: 2rem; }
  header nav { gap: 1.25rem !important; }
}
.bio-section { padding: 5rem 1.5rem; background: var(--theme-main); color: var(--theme-text); }
.bio-section-alt { background: var(--theme-alt); }
.bio-container { max-width: 1280px; margin: 0 auto; }
.bio-section[id] { scroll-margin-top: 5rem; }
.bio-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: #637b13; margin-bottom: 1rem; }
html[data-theme="dark"] .bio-kicker { color: #b8d66a; }
.bio-hero { padding: 4.5rem 1.5rem; background: #14344b; color: #fff; }
.bio-hero .bio-kicker { color: #c8df80; }
.bio-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.25; max-width: 1100px; overflow-wrap: break-word; text-wrap: balance; }
.bio-product-name { display: block; }
.bio-product-summary { display: block; margin-top: 1rem; font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: 1.4; font-weight: 600; }
.bio-hero-company { min-height: 400px; display: flex; align-items: center; text-align: center; background: linear-gradient(#0009, #0009), url('../images/pexels-fernando-narvaez-2150621466-32529341.jpg') center/cover no-repeat; }
.bio-hero-company h1, .bio-hero-company p { margin-left: auto; margin-right: auto; }
.bio-hero p:not(.bio-kicker) { color: #d9e6ec; max-width: 720px; margin-top: 1.5rem; line-height: 1.9; }
.bio-hero .bio-links { margin-top: 2rem; }
.bio-hero .bio-button-secondary { color: #fff; border-color: #a8bec8; }
.bio-section h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.35; font-weight: 700; margin-bottom: 1.5rem; }
.bio-section h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.bio-section p, .bio-section li { line-height: 1.9; color: var(--theme-text-secondary); }
.bio-section .bio-kicker { color: #637b13; }
html[data-theme="dark"] .bio-section .bio-kicker { color: #b8d66a; }
.bio-section p + p { margin-top: 1.25rem; }
.bio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.bio-card { background: var(--theme-card); border: 1px solid var(--theme-border); border-radius: 1rem; padding: 2rem; min-width: 0; }
.bio-card ul { padding-left: 1.25rem; list-style: disc; }
.bio-card li + li { margin-top: .75rem; }
.bio-card dl { margin: 0; }
.bio-card dt { font-weight: 700; margin-top: 1.25rem; }
.bio-card dd { margin: .5rem 0 0; line-height: 1.9; color: var(--theme-text-secondary); }
.bio-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.bio-button { display: inline-flex; justify-content: center; align-items: center; padding: .8rem 1.4rem; border-radius: .375rem; font-size: .875rem; font-weight: 600; background: #a5c62c; color: #14202b; }
.bio-button-secondary { background: transparent; border: 1px solid var(--theme-border); color: var(--theme-text); }
.bio-section a:not(.bio-button) { text-decoration: underline; text-underline-offset: 4px; }
.bio-visuals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.bio-visuals figure { min-width: 0; }
.bio-visuals img { display: block; width: 100%; border-radius: .75rem; }
.bio-visuals figcaption { margin-top: .75rem; font-size: .875rem; color: var(--theme-text-secondary); }
.bio-section-lead { margin-bottom: 2rem; }
.bio-hero .bio-hero-summary { font-size: 1.125rem; font-weight: 600; }
.bio-visuals-media img { aspect-ratio: 8 / 5; object-fit: cover; }
.bio-media-note { font-size: .875rem; margin-top: 1.25rem; }
.bio-foundation-grid .bio-card { padding: 1.5rem; }
.bio-copy { max-width: 840px; }
.bio-copy p { font-size: 1.0625rem; }
.bio-delivery-grid { grid-template-columns: 1fr; }
.bio-divider { border-top: 1px solid var(--theme-border); padding-top: 2rem; margin-top: 2rem; }
.bio-article-title { font-size: clamp(1.7rem, 3vw, 2.75rem) !important; }
a:focus-visible, button:focus-visible { outline: 2px solid #a5c62c; outline-offset: 4px; }
@media (min-width: 1024px) {
  .bio-section, .bio-hero { padding-left: 5rem; padding-right: 5rem; }
  .bio-delivery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bio-foundation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bio-section { padding: 3.5rem 1.5rem; }
  .bio-hero { padding: 3.5rem 1.5rem; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-visuals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bio-card { padding: 1.5rem; }
}
