/* ZOLARIS Luminaire: deep navy and the gold of the logo; Montserrat headings with Inter text (as the brand catalogues).
   Contrast: white on navy #0A1C31 15.9:1; button gold #8C6A35 with white 4.9:1; gold text #7D5E2E on white 5.9:1;
   bright logo gold #C9A063 only on navy (7.4:1). */
:root {
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display-weight: 500;
  --display-tracking: -0.01em;
  --eyebrow-tracking: 0.18em;
  --c-bg: #FFFFFF;
  --c-surface: #F6F4EF;
  --c-ink: #0A1C31;
  --c-muted: #5A6372;
  --c-line: rgba(10, 28, 49, 0.12);
  --c-accent: #8C6A35;
  --c-accent-ink: #FFFFFF;
  --c-accent-text: #7D5E2E;
  --c-dark: #0A1C31;
  --c-dark-ink: #F5F1E8;
  --c-dark-muted: #BAC2CE;
  --c-dark-line: rgba(245, 241, 232, 0.14);
  --radius: 2px;
  --radius-lg: 6px;
}
.site-header .brand__logo { height: 54px; }
.footer-brand__logo { height: 70px; }
@media (max-width: 640px) { .site-header .brand__logo { height: 42px; } }
.section--dark .eyebrow, .hero .eyebrow, .page-hero--image .eyebrow, .cta .eyebrow { color: #C9A063; }
.hero .eyebrow::before, .page-hero--image .eyebrow::before { background: #C9A063; }
.section--dark .stat__value, .section--dark .step::before { color: #C9A063; }
.stat__value, .step::before { color: var(--c-accent-text); }
.section--dark a:not(.btn), .site-footer a { color: inherit; }
.page-hero--image .btn--ghost, .hero .btn--ghost { color: var(--c-dark-ink); }
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .btn, [dir="rtl"] .site-nav a { font-family: var(--font-arabic); letter-spacing: 0 !important; }
.site-header .lang-switch a, a[lang="ar"] { letter-spacing: 0 !important; }

/* product photos on white (catalogue cut-outs) */
.card__media--product { background: #fff; }
.card__media--product img { object-fit: contain; padding: 18px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin: 18px 0 44px; }
.prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 14px 14px 16px; text-decoration: none; color: var(--c-ink); transition: box-shadow .25s, transform .25s; }
.prod:hover { box-shadow: 0 14px 34px rgba(10, 28, 49, .12); transform: translateY(-3px); }
.prod__img { display: block; aspect-ratio: 4 / 3; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; }
.prod__name, .fam__name { font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; margin-top: 10px; }
.prod__type, .fam__type { font-size: .86rem; color: var(--c-muted); }
.range-group h2 { margin: 0 0 4px; }

/* architectural families and Smart Solar models */
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pole-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fam, .pole { display: flex; flex-direction: column; text-decoration: none; color: var(--c-ink); }
.fam img { width: 100%; aspect-ratio: 1287 / 910; object-fit: cover; border-radius: var(--radius-lg); }
.pole img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.fam:hover img, .pole:hover img { filter: brightness(1.06); }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-bg); font-weight: 500; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0; }
.two-lists h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 6px; }
.cat-list { display: grid; gap: 28px; }
.cat { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.cat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.card h2.h3 { font-size: 1.25rem; }
@media (max-width: 900px) {
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .pole-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .cat { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .fam-grid, .two-lists { grid-template-columns: 1fr; } .prod-grid { grid-template-columns: 1fr 1fr; } }
.site-header .lang-switch + .lang-switch a { padding-inline-start: 0; }
@media (min-width: 961px) and (max-width: 1240px) { .site-header .site-nav ul { gap: 16px; } .site-header .site-nav a:not(.btn) { font-size: .78rem; letter-spacing: .04em; } }
@media (min-width: 961px) { .site-header .site-nav a:not(.btn) { white-space: nowrap; } }
.custom-line { margin-top: 36px; padding: 22px 26px; border-inline-start: 3px solid var(--c-accent); background: var(--c-surface); font-size: 1.08rem; font-weight: 500; }

/* split hero with a real installation photo (no AI scenes, 14 Oct) */
.hero--split { align-items: center; background: #0A1C31; }
.hero--split::before { background: radial-gradient(ellipse at 12% 18%, rgba(201,160,99,.16), transparent 55%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%); }
.hero--split .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero--split h1 { max-width: 16ch; }
.hero__photo { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); aspect-ratio: 545 / 860; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hero__photo::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(201,160,99,.55); border-radius: inherit; pointer-events: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 900px) {
  .hero--split .container { grid-template-columns: minmax(0, 1fr); }
  .hero__photo { justify-self: start; width: 100%; aspect-ratio: 4 / 3; }
}
