/* =============================================================================
   Altay Group — main stylesheet
   Pine-green surfaces, Altay green for actions, mono "label" type for specs.
   Signature: the stitched seam (dashed inset line) — Altay's own edge finish,
   used on the hero photo, catalog labels, page banners and the CTA panel.
   ============================================================================= */
:root {
  --pine: #0f3d2e;
  --pine-deep: #0a2b20;
  --green: #1e9b3e;
  --green-dark: #167a30;
  --fern: #a3dbb2;
  --mist: #eef3f0;
  --fiber: #d9e1dc;
  --ink: #17211c;
  --muted: #5d6b64;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px -18px rgba(10, 43, 32, 0.28);
  --stitch: 1.5px dashed;
  --header-h: 84px;
  --container: 1280px;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Commissioner', 'Onest', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: 'FLAR' 100, 'VOLM' 0;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pine);
}
::selection { background: var(--fern); color: var(--pine-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--light { background: var(--mist); }
.section--border-top { border-top: 1px solid var(--fiber); }

/* Section titles: mono label, then a light display heading with one weighted phrase */
.section-title { max-width: 760px; margin-bottom: 56px; }
.section-title__eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark);
}
.section-title__eyebrow::before { content: ''; width: 32px; height: 0; border-top: var(--stitch) currentColor; flex: none; }
.section-title__heading { font-size: clamp(32px, 3.5vw, 48px); font-weight: 350; line-height: 1.08; }
.section-title__heading span { font-weight: 600; color: var(--green-dark); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--green); color: var(--white); font-weight: 500; font-size: 15px; letter-spacing: .01em;
  white-space: nowrap; transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--green-dark); }
.btn__icon { display: inline-grid; place-items: center; font-size: 13px; transition: transform .25s; }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--light { background: var(--white); color: var(--pine); border-color: var(--fiber); }
.btn--light:hover { background: var(--mist); border-color: var(--pine); }
.btn--white { background: var(--white); color: var(--pine); }
.btn--white:hover { background: var(--mist); }
.btn--fern { background: var(--fern); color: var(--pine-deep); }
.btn--fern:hover { background: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

/* Top bar ------------------------------------------------------------------ */
.topbar { background: var(--pine-deep); color: rgba(255,255,255,.72); font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__left, .topbar__right { display: flex; gap: 28px; align-items: center; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar i { margin-inline-end: 8px; font-size: 11px; color: var(--fern); }
.lang-switch { position: relative; }
.lang-switch__btn { display: inline-flex; align-items: center; height: 40px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: rgba(255,255,255,.85); }
.lang-switch__btn .lang-switch__caret { font-size: 8px; margin: 0; margin-inline-start: 6px; color: inherit; transition: transform .2s; }
.lang-switch.is-open .lang-switch__caret { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: 100%; inset-inline-end: -12px; z-index: 260; min-width: 220px; padding: 8px; background: var(--white); border: 1px solid var(--fiber); border-radius: 14px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch__menu a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); }
.lang-switch__menu a span { width: 40px; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.lang-switch__menu a:hover { background: var(--mist); }
.lang-switch__menu a.is-active, .lang-switch__menu a.is-active span { color: var(--green-dark); }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--fiber); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(10,43,32,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 30px; }
.logo { display: flex; align-items: center; }
.logo-svg { height: 48px; width: auto; }
.nav__list { display: flex; gap: 36px; align-items: center; }
.nav__list > li { position: relative; }
.nav__list > li > a { position: relative; display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ink); padding: 14px 0; transition: color .2s; }
.nav__list > li > a::after { content: ''; position: absolute; inset-inline: 0; bottom: 6px; border-top: var(--stitch) var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__list > li > a:hover, .nav__list > li > a.is-active { color: var(--green-dark); }
.nav__list > li > a:hover::after, .nav__list > li > a.is-active::after { transform: scaleX(1); }
.nav__list > li > a i { font-size: 9px; }
.dropdown {
  position: absolute; top: 100%; inset-inline-start: -18px; min-width: 290px; background: var(--white); border: 1px solid var(--fiber); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink); transition: .2s; }
.dropdown a:hover { color: var(--green-dark); background: var(--mist); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__actions .btn { height: 44px; padding: 0 20px; font-size: 14px; }
.search-btn { font-size: 16px; color: var(--ink); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fiber); display: grid; place-items: center; transition: .2s; }
.search-btn:hover { border-color: var(--pine); }
.burger { display: none; font-size: 20px; color: var(--ink); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fiber); }

/* Mobile menu -------------------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; overflow: hidden; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(10,43,32,.55); opacity: 0; transition: .3s; }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: var(--white); transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; padding: 22px 24px 40px; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu__head .logo-svg { height: 42px; }
.mobile-menu__close { font-size: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fiber); }
.mobile-nav > li > a, .mobile-nav > li > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--fiber); font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 19px; font-weight: 450; color: var(--pine); text-align: start; }
.mobile-nav > li > button i { font-size: 11px; transition: transform .2s; }
.mobile-nav > li.is-open > button i { transform: rotate(180deg); }
.mobile-nav .sub { display: none; padding-block: 6px 10px; padding-inline: 14px 0; border-bottom: 1px solid var(--fiber); }
.mobile-nav li.is-open .sub { display: block; }
.mobile-nav .sub a { display: block; padding: 8px 0; font-size: 14.5px; color: var(--muted); }
.mobile-langs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 22px; }
.mobile-langs a { display: grid; place-items: center; height: 38px; border: 1px solid var(--fiber); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.mobile-langs a.is-active { background: var(--pine); border-color: var(--pine); color: var(--white); }
.mobile-menu__contact { margin-top: 26px; font-size: 14px; display: grid; gap: 12px; }
.mobile-menu__contact i { color: var(--green); width: 20px; }
.mobile-menu__contact .btn { margin-top: 6px; }

/* Search overlay ----------------------------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(10,43,32,.96); display: flex; align-items: flex-start; justify-content: center; padding: 120px 20px; opacity: 0; visibility: hidden; transition: .25s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__close { position: absolute; top: 22px; inset-inline-end: 28px; color: var(--white); font-size: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.search-box { width: 100%; max-width: 720px; }
.search-box input { width: 100%; height: 64px; border-radius: 999px; border: 0; padding: 0 28px; font: inherit; font-family: var(--font-display); font-size: 20px; color: var(--pine); outline: none; }
.search-box input:focus-visible { box-shadow: 0 0 0 3px var(--fern); }
.search-results { margin-top: 16px; background: var(--white); border-radius: 18px; overflow: hidden; max-height: 60vh; overflow-y: auto; }
.search-results:empty { display: none; }
.search-results a { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--fiber); color: var(--pine); font-weight: 500; }
.search-results a small { display: block; font-family: var(--font-mono); font-weight: 400; color: var(--muted); font-size: 11.5px; }
.search-results a i { color: var(--green); width: 22px; text-align: center; }
.search-results a:hover { background: var(--mist); }
.search-results .empty { padding: 18px 22px; color: var(--muted); }

/* Hero: copy on pine, photo framed by a stitched seam with a spec tag ------- */
/* slides share one grid cell, so the hero is as tall as its longest slide in any language */
.hero { position: relative; display: grid; overflow: hidden; background: var(--pine); color: var(--white); }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.hero__content { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; padding-block: 56px 80px; }
.hero__copy > * { transition: opacity .8s ease, transform .8s ease; }
.hero__slide:not(.is-active) .hero__copy > * { opacity: 0; transform: translateY(14px); }
.hero__copy > :nth-child(2) { transition-delay: .08s; }
.hero__copy > :nth-child(3) { transition-delay: .16s; }
.hero__copy > :nth-child(4) { transition-delay: .24s; }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fern); margin-bottom: 26px; }
.hero__kicker::before { content: ''; width: 32px; border-top: var(--stitch) currentColor; flex: none; }
.hero__title { font-size: clamp(40px, 5vw, 72px); font-weight: 300; line-height: 1.02; letter-spacing: -0.025em; color: var(--white); }
.hero__title span { display: block; font-weight: 600; color: var(--fern); }
.hero__text { margin: 26px 0 36px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.74); max-width: 480px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__media { position: relative; align-self: stretch; border-radius: var(--radius-lg); background-size: cover; background-position: center; }
.hero__media::after, .about__img::after, .product-hero__img::after {
  content: ''; position: absolute; inset: 14px; border: var(--stitch) rgba(15,61,46,.42); border-radius: calc(var(--radius-lg) - 14px); pointer-events: none;
}
.hero__tag {
  position: absolute; inset-inline-start: -28px; bottom: 36px; display: grid; gap: 2px; min-width: 220px; max-width: 300px;
  padding-block: 14px; padding-inline: 42px 20px; background: var(--white); color: var(--pine); border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow);
}
.hero__tag::before { content: ''; position: absolute; inset-inline-start: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--pine); box-shadow: inset 0 0 0 3px var(--fiber); }
.hero__tag span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }
.hero__tag strong { unicode-bidi: plaintext; font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 19px; font-weight: 500; line-height: 1.3; }
.hero__dots { position: absolute; bottom: 40px; inset-inline-start: max(24px, calc((100% - var(--container)) / 2 + 24px)); z-index: 2; display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 14px; position: relative; }
.hero__dots button::before { content: ''; position: absolute; inset-inline: 0; top: 6px; height: 2px; background: rgba(255,255,255,.3); transition: .3s; }
.hero__dots button.is-active { width: 56px; }
.hero__dots button.is-active::before { background: var(--fern); }

/* Custom options: a spec-sheet grid of hairline cells ---------------------- */
.pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); border-top: 1px solid var(--fiber); border-inline-start: 1px solid var(--fiber); }
.pill { display: flex; align-items: flex-start; gap: 18px; padding: 28px 26px; border-bottom: 1px solid var(--fiber); border-inline-end: 1px solid var(--fiber); background: var(--white); transition: background .25s; }
.pills::after { content: ''; border-bottom: 1px solid var(--fiber); border-inline-end: 1px solid var(--fiber); background: repeating-linear-gradient(45deg, transparent 0 7px, rgba(15,61,46,.05) 7px 8px), repeating-linear-gradient(-45deg, transparent 0 7px, rgba(15,61,46,.05) 7px 8px); }
.section--light .pill { background: transparent; }
.pill:hover { background: var(--mist); }
.section--light .pill:hover { background: var(--white); }
.pill__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--fiber); color: var(--green-dark); display: grid; place-items: center; font-size: 17px; background: var(--white); transition: .25s; }
.pill:hover .pill__icon { background: var(--pine); border-color: var(--pine); color: var(--fern); }
.pill__body { display: flex; flex-direction: column; gap: 4px; }
.pill__title { font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 19px; font-weight: 500; line-height: 1.25; color: var(--pine); }
.pill__text { font-size: 14px; color: var(--muted); }

/* Product category cards ---------------------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative; height: 400px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px;
  padding: 30px 30px 28px; color: var(--white); background: var(--pine);
  outline: var(--stitch) transparent; outline-offset: -12px; transition: outline-color .3s;
}
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; z-index: -2; }
.product-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,43,32,0) 30%, rgba(10,43,32,.88) 100%); }
.product-card:hover { outline-color: rgba(255,255,255,.75); }
.product-card:hover img { transform: scale(1.05); }
.product-card__title { font-size: 26px; font-weight: 450; color: var(--white); line-height: 1.15; }
.product-card__short { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 6px; }
.product-card__more { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fern); display: inline-flex; gap: 10px; align-items: center; }
.product-card__more i { transition: transform .25s; }
.product-card:hover .product-card__more i { transform: translateX(5px); }

/* Catalog: each model is a sewn-in label ------------------------------------ */
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.catalog-filter { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--fiber); background: var(--white); color: var(--ink); font: 500 14px var(--font); cursor: pointer; transition: .2s; }
.catalog-filter span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.catalog-filter:hover { border-color: var(--pine); }
.catalog-filter.is-active { background: var(--pine); border-color: var(--pine); color: var(--white); }
.catalog-filter.is-active span { color: var(--fern); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--fiber); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; scroll-margin-top: calc(var(--header-h) + 24px); }
.catalog-card[hidden] { display: none; }
.catalog-card:hover { border-color: var(--pine); box-shadow: var(--shadow); }
.catalog-card:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,155,62,.18); }
.catalog-card__img { aspect-ratio: 1; background: var(--white); display: grid; place-items: center; padding: 18px; }
.catalog-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.catalog-card:hover .catalog-card__img img { transform: scale(1.04); }
.catalog-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; margin: 0 12px 12px; padding: 16px 14px 14px; border: var(--stitch) var(--fiber); border-radius: 10px; background: var(--white); }
.catalog-card__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.catalog-card__title { font-size: 18px; font-weight: 500; line-height: 1.25; color: var(--pine); }
.catalog-card__specs { display: flex; flex-wrap: wrap; gap: 2px 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.catalog-card__specs li:not(:last-child)::after { content: '·'; margin: 0 8px; color: var(--muted); }
.catalog-card__cta { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--green-dark); transition: color .2s; }
.catalog-card__cta i { font-size: 16px; }
.catalog-card__cta:hover { color: var(--pine); }

/* Process (a real sequence, so it is numbered) ------------------------------ */
.process-section { padding: 112px 0 0; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.process__item { position: relative; height: 440px; overflow: hidden; border-radius: var(--radius); color: var(--white); padding: 30px 26px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.process__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; z-index: -2; }
.process__item::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,43,32,.1) 20%, rgba(10,43,32,.9) 100%); }
.process__item:hover img { transform: scale(1.05); }
.process__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--fern); margin-bottom: 12px; padding-bottom: 12px; border-bottom: var(--stitch) rgba(255,255,255,.35); }
.process__title { font-size: 28px; font-weight: 450; color: var(--white); line-height: 1.1; }
.process__text { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }

/* Why Altay: quiet columns divided by hairlines ----------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--fiber); }
.why-card { padding: 32px 22px 8px; border-inline-start: 1px solid var(--fiber); }
.why-card:first-child { border-inline-start: 0; padding-inline-start: 0; }
.why-card i { font-size: 22px; color: var(--green); margin-bottom: 22px; }
.why-card h3 { font-size: 18px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Fair banner --------------------------------------------------------------- */
.fair { background: var(--pine); color: var(--white); }
.fair__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 88px 24px; }
.fair__left { display: flex; align-items: center; gap: 32px; }
.fair__left > i { flex: none; width: 104px; height: 104px; border-radius: 50%; border: var(--stitch) rgba(163,219,178,.6); display: grid; place-items: center; font-size: 44px; color: var(--fern); }
.fair__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fern); }
.fair__title { font-size: clamp(42px, 5vw, 64px); font-weight: 300; line-height: 1; color: var(--white); margin-top: 8px; }
.fair__sub { font-size: 15px; margin-top: 14px; color: rgba(255,255,255,.7); }
.fair__right { padding-inline-start: 64px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.fair__right h3 { font-size: 24px; font-weight: 400; line-height: 1.35; color: var(--white); margin-bottom: 20px; }
.fair__contacts { display: grid; gap: 10px; font-size: 15px; margin-bottom: 28px; color: rgba(255,255,255,.85); }
.fair__contacts i { color: var(--fern); width: 22px; }
.fair__contacts a:hover { color: var(--fern); }

/* Contact box & forms ------------------------------------------------------- */
.contact-box { display: grid; grid-template-columns: 2fr 3fr; background: var(--mist); border-radius: var(--radius-lg); overflow: hidden; }
.section--light .contact-box { background: var(--white); }
.contact-box__img { position: relative; min-height: 100%; }
.contact-box__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-box__form { padding: 64px 60px; }
.form-title { font-size: clamp(30px, 3vw, 40px); font-weight: 350; line-height: 1.1; margin-bottom: 32px; }
.form-title span { display: block; font-weight: 600; color: var(--green-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .col { display: grid; gap: 14px; }
.form-control { width: 100%; height: 54px; border: 1px solid var(--fiber); border-radius: 12px; background: var(--white); padding: 0 18px; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.section--light .form-control { background: var(--mist); }
.form-control::placeholder { color: #8a958f; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,155,62,.14); background: var(--white); }
.form-control.is-invalid { border-color: #c62828; }
textarea.form-control { height: 100%; min-height: 182px; padding: 15px 18px; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; min-height: 1.4em; }
.form-note.is-error { color: #c62828; }
.form-note.is-ok { color: var(--green-dark); }

/* About ----------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 350; margin-bottom: 20px; }
.about .lead { font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--green-dark); margin-bottom: 16px; }
.about p { margin-bottom: 14px; color: #34413a; }
.about__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* CTA panel ----------------------------------------------------------------- */
.cta-band { padding: 0 0 112px; }
.section--light + .cta-band { padding-top: 112px; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px 72px;
  background: var(--pine); color: var(--white); border-radius: var(--radius-lg);
  outline: var(--stitch) rgba(163,219,178,.45); outline-offset: -14px;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 36px); font-weight: 350; line-height: 1.15; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 620px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cta-band .btn--white { background: var(--fern); color: var(--pine-deep); }
.cta-band .btn--white:hover { background: var(--white); }

/* Page banner (sub pages) ---------------------------------------------------- */
.page-banner { position: relative; background: var(--pine); color: var(--white); padding: 84px 0 76px; }
.page-banner::after { content: ''; position: absolute; inset-inline: 0; bottom: 14px; border-top: var(--stitch) rgba(163,219,178,.28); }
.page-banner h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 300; letter-spacing: -0.02em; color: var(--white); }
.breadcrumb { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.breadcrumb span { margin: 0 6px; color: var(--fern); }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }

/* Product page ---------------------------------------------------------------- */
.product-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.product-hero__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.product-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.product-hero h2 { font-size: clamp(32px, 3.4vw, 46px); font-weight: 350; margin: 14px 0 18px; }
.product-hero p { margin-bottom: 14px; color: #34413a; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.eyebrow i { margin-inline-end: 10px; }
.spec-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--fiber); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.spec-table th, .spec-table td { padding: 18px 24px; text-align: start; border-bottom: 1px solid var(--fiber); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 240px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 21px; }
.spec-table td { font-size: 15.5px; color: var(--ink); }
.sub-heading { font-size: 22px; font-weight: 500; margin: 48px 0 18px; }
.uses { display: flex; flex-wrap: wrap; gap: 10px; }
.uses li { background: var(--white); border: 1px solid var(--fiber); border-radius: 999px; padding: 9px 18px; font-size: 14.5px; }
.uses li i { color: var(--green); margin-inline-end: 8px; font-size: 12px; }

/* Custom options page --------------------------------------------------------- */
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option-card { background: var(--white); border: 1px solid var(--fiber); border-radius: var(--radius); padding: 34px 30px; transition: border-color .25s; }
.option-card:hover { border-color: var(--pine); }
.option-card__icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--fiber); color: var(--green-dark); display: grid; place-items: center; font-size: 19px; margin-bottom: 22px; }
.option-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.option-card__sub { font-family: var(--font-mono); color: var(--green-dark); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.option-card p { font-size: 15px; color: #34413a; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--fiber); }
.step__num { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--green-dark); padding-bottom: 14px; margin-bottom: 18px; border-bottom: var(--stitch) var(--fiber); }
.step h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Contact page ---------------------------------------------------------------- */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--fiber); border-radius: var(--radius); padding: 30px 26px; transition: border-color .25s; }
.info-card:hover { border-color: var(--pine); }
.info-card i { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--fiber); color: var(--green-dark); display: grid; place-items: center; font-size: 17px; margin-bottom: 20px; }
.info-card h3 { font-family: var(--font-mono); font-variation-settings: normal; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-card p { font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 18px; color: var(--pine); line-height: 1.4; }
.info-card a:hover { color: var(--green-dark); }
.map { border-radius: var(--radius-lg); overflow: hidden; height: 440px; border: 1px solid var(--fiber); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* News ------------------------------------------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--fiber); transition: border-color .25s; }
.news-card:hover { border-color: var(--pine); }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { padding: 26px; }
.news-card__date { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.news-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.news-card p { font-size: 15px; margin-bottom: 16px; color: #34413a; }
.news-card__link { color: var(--green-dark); font-weight: 500; font-size: 14.5px; }
.news-card__link i { margin-inline-start: 6px; }

/* Footer ---------------------------------------------------------------------- */
.footer { background: var(--pine-deep); color: var(--white); padding: 80px 0 0; }
.footer__info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 44px; border-bottom: var(--stitch) rgba(255,255,255,.14); }
.footer__label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fern); margin-bottom: 10px; }
.footer__info p { font-family: var(--font-display); font-variation-settings: 'FLAR' 100; font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.92); }
.footer__info a:hover { color: var(--fern); }
.footer__nav { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 48px 0 56px; }
.footer h4 { font-family: var(--font-mono); font-variation-settings: normal; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { font-size: 14.5px; color: rgba(255,255,255,.82); transition: color .2s; }
.footer__links a:hover { color: var(--fern); }
.footer__brand .logo-svg { height: 50px; }
.footer__brand p { margin-top: 18px; font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 340px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; min-height: 68px; padding-top: 12px; padding-bottom: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.16); transition: .2s; font-size: 14px; }
.socials a:hover { background: var(--fern); color: var(--pine-deep); border-color: var(--fern); }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); font-size: 28px; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.06); }

/* Right-to-left (Arabic) ------------------------------------------------------ */
[dir="rtl"] .mobile-menu__panel { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .mobile-menu.is-open .mobile-menu__panel { transform: none; }
[dir="rtl"] .nav__list > li > a::after { transform-origin: right; }
[dir="rtl"] .hero__tag { border-radius: 14px 6px 6px 14px; }
[dir="rtl"] .whatsapp-float { right: auto; left: 24px; }
[dir="rtl"] .fa-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__icon { transform: translateX(-4px); }
[dir="rtl"] .product-card:hover .product-card__more i { transform: scaleX(-1) translateX(5px); }
/* Letter-spacing breaks Arabic letter joining */
[lang="ar"] body :not(svg, svg *) { letter-spacing: 0 !important; }
.logo-svg { direction: ltr; }

/* Reveal animation ------------------------------------------------------------ */
/* Elements rest visible; JS marks only below-the-fold items as pending, then reveals them on scroll. */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-pending, .hero__slide:not(.is-active) .hero__copy > * { opacity: 1; transform: none; transition: none; }
  .hero__slide, .hero__copy > * { transition: none; }
}

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why-card:nth-child(5) { border-inline-start: 0; padding-inline-start: 0; }
  .nav__list { gap: 24px; }
  .nav__list > li > a { font-size: 14px; }
  .process__title { font-size: 23px; }
}
@media (max-width: 1100px) {
  :root { --header-h: 74px; }
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .logo-svg { height: 42px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process__item { height: 340px; }
  .footer__info { grid-template-columns: repeat(2, 1fr); }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-box__form { padding: 48px 40px; }
  .hero__content { gap: 40px; }
  .cta-band__inner { padding: 56px 48px; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 40px; }
  .hero__content { min-height: 0; grid-template-columns: 1fr; grid-template-rows: 280px auto; align-items: start; gap: 36px; padding-block: 24px 96px; }
  .hero__media { order: -1; }
  .hero__tag { inset-inline-start: 18px; bottom: -22px; min-width: 0; }
  .hero__text { margin: 18px 0 26px; font-size: 16px; }
  .hero__kicker { margin-bottom: 16px; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-box__img { height: 240px; }
  .about, .product-hero { grid-template-columns: 1fr; gap: 40px; }
  .fair__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .fair__right { padding-inline-start: 0; border-inline-start: 0; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.14); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card, .why-card:nth-child(5) { border-inline-start: 1px solid var(--fiber); padding-inline-start: 22px; border-bottom: 1px solid var(--fiber); padding-bottom: 26px; }
  .why-card:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .cta-band { padding-bottom: 80px; }
  .section--light + .cta-band { padding-top: 80px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .process-section { padding-top: 80px; }
  .page-banner { padding: 60px 0 56px; }
}
@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .topbar__right { display: none; }
  .topbar__left { gap: 18px; font-size: 12px; }
  .site-header__actions .btn { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { height: 300px; }
  .catalog-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .catalog-filter { flex: none; }
  .catalog-card__img { padding: 10px; }
  .catalog-card__body { margin: 0 8px 8px; padding: 12px 10px; }
  .catalog-card__title { font-size: 15px; }
  .catalog-card__specs { font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  textarea.form-control { min-height: 140px; }
  .hero__content { grid-template-rows: 240px auto; }
  .hero__title { font-size: 38px; }
  .hero__media::after { inset: 10px; border-radius: calc(var(--radius-lg) - 10px); }
  .hero__dots { bottom: 30px; }
  .pills { grid-template-columns: 1fr; }
  .pills::after { display: none; }
  .pill { padding: 22px 18px; }
  .info-cards { grid-template-columns: 1fr; }
  .footer__info, .footer__nav { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
  .process__item { height: 260px; padding: 20px 18px; }
  .process__title { font-size: 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card, .why-card:nth-child(5) { border-inline-start: 0; padding-inline-start: 0; }
  .option-grid, .steps { grid-template-columns: 1fr; }
  .spec-table th { width: 150px; }
  .fair__left { flex-direction: column; align-items: flex-start; gap: 20px; }
  .fair__left > i { width: 80px; height: 80px; font-size: 34px; }
  .contact-box__form { padding: 34px 22px; }
  .cta-band__inner { padding: 40px 24px; outline-offset: -10px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 26px; right: 16px; bottom: 16px; }
  [dir="rtl"] .whatsapp-float { right: auto; left: 16px; }
}
