/* Shared public-site presentation; mirrored to the PHP delivery package. */
:root { --paper: #f5f4f0; --ink: #202523; --black: #151b19; --muted: #646b67; --bronze: #8d6b35; }
body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid #c49b4f; outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 95px; }
.topbar { background: #f8f8f5; color: #202523; min-height: 82px; padding-block: 15px; }
.topbar .brand-mark strong, .topbar nav a, .topbar .language-switcher a { color: #202523; }
.topbar .language-switcher a.active { background: #253a2c; color: white; }
.brand-mark { direction: ltr; }
.brand-mark span { background: #202a25; width: 43px; height: 43px; border-radius: 2px; color: #e8cf9f; }
.brand-mark strong { font-size: 1.125rem; letter-spacing: -.03em; }
.nav-links, .topbar nav { gap: clamp(16px, 2vw, 32px); }
.nav-links a, .topbar nav a, .language-switcher a { font-size: .875rem; }
.language-switcher { border-radius: 3px; padding: 3px; }
.language-switcher a { padding: 8px; }
.hero-section, .hero { min-height: 650px; padding: 95px clamp(24px, 6vw, 90px) 55px; align-items: end; }
.hero-copy { max-width: 900px; }
.hero-backdrop img { object-position: 50% 55%; }
.hero-backdrop::after { background: linear-gradient(90deg,rgba(9,18,13,.91),rgba(9,18,13,.54) 50%,rgba(9,18,13,.12)),linear-gradient(0deg,rgba(9,18,13,.65),transparent 80%); }
[dir="rtl"] .hero-backdrop::after { background: linear-gradient(270deg,rgba(9,18,13,.91),rgba(9,18,13,.54) 50%,rgba(9,18,13,.12)),linear-gradient(0deg,rgba(9,18,13,.65),transparent 80%); }
.hero .eyebrow, .hero-section .eyebrow { color: #e5c78c; font-size: .875rem; letter-spacing: .13em; }
.hero h1, .hero-section h1 { font-size: clamp(4.4rem, 9.2vw, 8.8rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; margin-bottom: 22px; direction: ltr; width: fit-content; }
.hero-subtitle { font-size: clamp(1.0625rem, 1.65vw, 1.25rem); max-width: 660px; line-height: 1.8; color: #eef0eb; }
.button { border-radius: 3px; font-size: .9375rem; padding: 14px 24px; min-height: 49px; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.hero .primary, .hero-section .primary { background: #dfbf80; color: #18201b; }
.metric-row, .metrics { margin-top: 40px; max-width: 880px; gap: 20px; }
.metric strong, .metrics strong { font-size: 1rem; }
.metric span, .metrics span { font-size: .875rem; color: #c9cdc8; }
.location-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 23px clamp(24px, 6vw, 90px); background: #e9ece6; border-bottom: 1px solid #d5dbd1; font-size: .9375rem; line-height: 1.65; }
.location-strip > span { font-weight: 700; color: #425548; }
.location-strip > a:last-child { font-weight: 650; white-space: nowrap; }
.intro-band, .intro, .application-band, .quality-section, .quality, .contact-section, .contact, .factory-gallery { padding: 85px clamp(24px, 6vw, 90px); }
.eyebrow, .product-eyebrow { font-size: .875rem; letter-spacing: .08em; }
.intro h2, .intro-band h2, .application-band h2, .quality h2, .quality-section h2, .contact h2, .contact-section h2, .factory-gallery h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); line-height: 1.18; font-weight: 650; letter-spacing: -.035em; }
[dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.55; letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero .eyebrow, [dir="rtl"] .hero-section .eyebrow { letter-spacing: 0; }
.intro-band, .intro { border: 0; padding-bottom: 42px; background: var(--paper); }
.intro-band > div > .eyebrow, .intro > div > .eyebrow { margin-bottom: 16px; color: var(--bronze); }
.intro > p, .intro-band > p, .gallery-heading > p { font-size: 1rem; line-height: 1.8; }
.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 clamp(24px, 6vw, 90px) 85px; gap: 28px; background: var(--paper); }
.product-card { display: block; min-height: 0; border: 1px solid #d8ded5; background: white; border-radius: 4px; overflow: hidden; }
.product-card > img { aspect-ratio: 16/10; height: auto; max-height: none; object-fit: cover; width: 100%; }
.product-body { border: 0; padding: 30px; gap: 15px; }
.product-body h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.3; }
.product-body p { line-height: 1.75; font-size: 1rem; }
.spec-row span { font-size: .8125rem; font-weight: 600; background: #f4f6f1; padding: 7px 10px; border-color: #e1e6dc; }
.use-box { margin-top: 5px; }
.use-box span { font-size: .9375rem; }
.application-band { background: #e9ece6; gap: 36px; }
.application-heading, .gallery-heading { align-items: end; gap: 40px; }
.application-card { padding: 28px; min-height: auto; border: 0; border-inline-start: 1px solid #cbd3c5; background: transparent; }
.application-card h3 { font-size: 1.35rem; line-height: 1.4; }
.application-card span { font-size: .875rem; }
.selection-strip { background: #253a2c; padding: 40px; border-radius: 3px; }
.selection-strip .eyebrow { color: #e3c789; }
.selection-strip h2 { font-size: clamp(1.8rem, 2.9vw, 2.7rem); margin-block: 12px 20px; }
.selection-strip p, .selection-list li { color: #d9e0d7; }
.factory-gallery { background: #f9faf7; }
.gallery-heading { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 36px; }
.gallery-heading > p { margin: 0; color: var(--muted); max-width: 55ch; }
.factory-gallery .gallery-heading h2 { color: var(--ink); }
.factory-gallery .gallery-heading .eyebrow { color: var(--bronze); margin-bottom: 16px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 24px; }
.gallery-filters button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #d0d8cb; padding: 11px 15px; background: transparent; color: #394737; border-radius: 3px; font-size: .875rem; cursor: pointer; }
.gallery-filters button[aria-pressed="true"] { background: #253a2c; border-color: #253a2c; color: white; }
.gallery-filters button span { font-size: .75rem; opacity: .7; }
.factory-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 18px; }
.factory-grid figure { margin: 0; min-width: 0; }
.photo-button { position: relative; display: block; border: 0; padding: 0; width: 100%; background: #e4e9df; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
.photo-button img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.photo-button:hover img { transform: scale(1.025); }
.photo-expand { position: absolute; inset-inline-end: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #253a2c; font-size: 1rem; }
.factory-grid figcaption { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: .875rem; line-height: 1.6; color: #3d493f; }
.factory-grid figcaption small { color: #667261; font-size: .75rem; padding-top: 3px; }
.photo-dialog { padding: 0; border: 0; background: transparent; color: white; width: min(1200px,96vw); max-width: 96vw; max-height: 96dvh; overflow: auto; }
.photo-dialog::backdrop { background: rgba(8,15,10,.94); backdrop-filter: blur(8px); }
.photo-dialog-inner { position: relative; padding-top: 48px; }
.photo-dialog-inner > img { display: block; width: 100%; height: 74dvh; object-fit: contain; margin-inline: auto; }
.photo-close { position: absolute; top: 0; inset-inline-end: 0; border: 1px solid #748071; background: #202c21; color: white; padding: 9px 16px; border-radius: 3px; font-size: 1rem; cursor: pointer; }
.photo-dialog-footer { display: grid; grid-template-columns: 48px 1fr 48px; gap: 18px; align-items: center; padding: 18px 0 8px; }
.photo-dialog-footer button { width: 48px; height: 48px; border: 1px solid #71806c; background: transparent; color: white; border-radius: 50%; font-size: 1.25rem; cursor: pointer; }
.photo-dialog-footer p { margin: 0; text-align: center; font-size: 1rem; line-height: 1.6; }
.photo-dialog-footer p span { display: block; color: #c0cabe; font-size: .8125rem; }
.photo-dialog-footer p .dialog-caption { color: white; font-size: 1rem; }
.quality-section, .quality { background: #e9ece6; }
.quality-photo img, .quality > img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; border-radius: 3px; box-shadow: none; }
.contact-section, .contact { background: #18271e; }
.contact-section .eyebrow, .contact .eyebrow { color: #dfbf80; }
.contact-details { display: grid; gap: 26px; margin-top: 32px; }
.contact-details > div { display: grid; gap: 10px; }
.contact-details > div > span { color: #dfbf80; font-size: .875rem; }
.contact-phone { font-size: clamp(1.4rem, 2.6vw, 2rem); width: fit-content; font-weight: 650; color: #fff; }
.contact-details address { font-style: normal; font-size: 1.125rem; line-height: 1.8; max-width: 38ch; }
.contact-details .button { justify-self: start; }
.map-link { font-size: .875rem; text-decoration: underline; text-underline-offset: 5px; width: fit-content; }
.quote-form, .contact form { border: 1px solid #53664f; border-radius: 4px; padding: 30px; background: rgba(255,255,255,.03); }
.contact label span, .quote-form label span { font-size: .9375rem; opacity: 1; color: #e3e9df; }
.contact input, .contact select, .contact textarea, .quote-form input, .quote-form select, .quote-form textarea { border: 1px solid #758371; border-radius: 3px; background: #f2f5ee; color: #18251b; font-size: 1rem; }
.contact .button.primary, .contact-section .button.primary { background: #dfbf80; color: #18251b; }
.contact .form-hint, .contact-section .form-hint { font-size: .875rem; line-height: 1.65; margin: 5px 0; color: #bdcbbb; }
.footer, body > footer { background: #122017; padding: 28px clamp(24px,6vw,90px); font-size: .875rem; }
@media(min-width:1500px) { .hero-section,.hero { min-height: 730px; } .factory-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media(max-width:1100px) {
  .topbar { grid-template-columns: 1fr auto; position: relative; gap: 12px; }
  .topbar nav, .nav-links { grid-row: 2; grid-column: 1/-1; justify-content: start; flex-wrap: wrap; }
  .language-switcher { grid-column: 2; grid-row: 1; }
  .hero-section, .hero { min-height: 630px; padding-top: 70px; }
  .factory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-heading { grid-template-columns: 1fr; gap: 20px; }
}
@media(max-width:760px) {
  .hero-section, .hero { min-height: 550px; padding: 65px 22px 32px; }
  .hero h1, .hero-section h1 { font-size: clamp(3.4rem,13vw,5.8rem); }
  .hero-subtitle { font-size: 1rem; line-height: 1.75; }
  .metric-row, .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 34px; }
  .metric, [dir="rtl"] .metric, .metrics > div { padding: 14px 0 0; border: 0; }
  .metric strong, .metrics strong { font-size: .875rem; }
  .metric span, .metrics span { font-size: .8125rem; }
  .topbar { padding-inline: 20px; }
  .brand-mark { gap: 8px; }
  .brand-mark strong { font-size: 1rem; }
  .brand-mark span { width: 36px; height: 36px; }
  .language-switcher a { padding: 7px; font-size: .8125rem; }
  .location-strip { padding: 22px; gap: 8px; }
  .location-strip > span { flex-basis: 100%; }
  .intro-band,.intro,.application-band,.quality-section,.quality,.contact-section,.contact,.factory-gallery { padding: 56px 22px; }
  .intro-band,.intro { padding-bottom: 30px; }
  .product-grid { padding: 0 22px 56px; grid-template-columns: 1fr; gap: 24px; }
  .product-body { padding: 24px; }
  .application-grid { grid-template-columns: 1fr 1fr; }
  .application-card { padding: 14px; }
  .application-card h3 { font-size: 1.2rem; }
  .selection-strip { padding: 28px 22px; }
  .gallery-filters { gap: 7px; }
  .gallery-filters button { padding: 9px 11px; }
  .factory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 12px; }
  .factory-grid figcaption { font-size: .875rem; }
  .factory-grid figcaption small { display: none; }
  .quote-form,.contact form { padding: 22px; }
}
@media(max-width:380px) { .topbar { grid-template-columns: 1fr; } .language-switcher { grid-column: 1; grid-row: 3; } .application-grid { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *, *::before, *::after { transition:none !important; animation:none !important; } }
