/* ZOLARIS Luminaire: deep bronze-brown and the gold of the logo (Mr. Zaher, 15 Oct 2026: no navy, unify with the brown/gold); Montserrat headings with Inter text (as the brand catalogues).
   Contrast: white on navy #2B2219 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: #2B2219;
  --c-muted: #6A5F52;
  --c-line: rgba(43, 34, 25, 0.12);
  --c-accent: #8C6A35;
  --c-accent-ink: #FFFFFF;
  --c-accent-text: #7D5E2E;
  --c-dark: #2B2219;
  --c-dark-ink: #F5F1E8;
  --c-dark-muted: #CFC2AE;
  --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(43, 34, 25, .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: #2B2219; }
.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; }
}
/* the closing banner's night photo read as navy: a warm bronze veil keeps it in the brown/gold family (15 Oct 2026) */
.cta::before { background: linear-gradient(180deg, rgba(43, 34, 25, .93), rgba(43, 34, 25, .88)); }
.cta { background-color: #2B2219; }

/* Home introduction (15 Oct 2026): who ZOLARIS is, over three slowly changing photographs */
.intro { position: relative; min-height: min(86vh, 720px); display: flex; align-items: flex-end; padding: 150px 0 80px; color: #fff; isolation: isolate; overflow: hidden; background: #2B2219; }
.intro__slides { position: absolute; inset: 0; z-index: -2; }
.intro__slide { position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; opacity: 0; animation: introFade 21s infinite; }
.intro__slide:nth-child(2) { animation-delay: 7s; }
.intro__slide:nth-child(3) { animation-delay: 14s; }
@keyframes introFade { 0% { opacity: 0; transform: scale(1.04); } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.intro__slide:first-child { opacity: 1; }
.intro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 34, 25, .9) 0%, rgba(43, 34, 25, .65) 45%, rgba(43, 34, 25, .2) 100%), linear-gradient(0deg, rgba(43, 34, 25, .7) 0%, rgba(43, 34, 25, 0) 50%); }
[dir="rtl"] .intro::after { background: linear-gradient(270deg, rgba(43, 34, 25, .9) 0%, rgba(43, 34, 25, .65) 45%, rgba(43, 34, 25, .2) 100%), linear-gradient(0deg, rgba(43, 34, 25, .7) 0%, rgba(43, 34, 25, 0) 50%); }
.intro__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
.intro h1 { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 18px; }
.intro .lead { color: rgba(245, 241, 232, .88); max-width: 58ch; }
.intro .eyebrow { color: #C9A063; }
.intro .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
@media (prefers-reduced-motion: reduce) { .intro__slide { animation: none; } }
@media (max-width: 800px) { .intro { min-height: 560px; padding: 120px 0 48px; } .intro__slide { background-image: var(--bg-sm, var(--bg)); } }
/* lighter veil so the photographs show (only the text side is darkened) */
.intro::after { background: linear-gradient(90deg, rgba(43, 34, 25, .82) 0%, rgba(43, 34, 25, .5) 38%, rgba(43, 34, 25, 0) 70%), linear-gradient(0deg, rgba(43, 34, 25, .45) 0%, rgba(43, 34, 25, 0) 35%); }
[dir="rtl"] .intro::after { background: linear-gradient(270deg, rgba(43, 34, 25, .82) 0%, rgba(43, 34, 25, .5) 38%, rgba(43, 34, 25, 0) 70%), linear-gradient(0deg, rgba(43, 34, 25, .45) 0%, rgba(43, 34, 25, 0) 35%); }

/* Smart Solar explained on the home page (15 Oct 2026) */
.sx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.sx__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 20px 44px -26px rgba(43, 34, 25, .55); }
.sx__list { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; gap: 12px; }
.sx__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding-top: 12px; border-top: 1px solid var(--c-line); }
.sx__n { font: 600 1.05rem/1.3 var(--font-display); color: var(--c-accent-text); }
.sx__list h3 { font-size: 1.02rem; margin: 0 0 2px; }
.sx__list p { margin: 0; font-size: .93rem; color: var(--c-muted); }
@media (max-width: 900px) { .sx__grid { grid-template-columns: 1fr; } }
/* 7 menu items: keep everything on one line on laptops (15 Oct 2026) */
.site-nav a, .header-cta { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 961px) {
  .site-nav { gap: 16px; }
  .site-nav ul { gap: 16px; }
  .site-nav a:not(.btn) { font-size: 0.74rem; letter-spacing: 0.05em; }
  .header-cta { padding: 0 14px; font-size: 0.72rem; }
  .site-header .brand__logo { height: 44px; }
}
@media (max-width: 1200px) and (min-width: 961px) { .site-nav ul { gap: 11px; } .site-nav a:not(.btn) { font-size: 0.68rem; } }
@media (max-width: 1240px) and (min-width: 961px) { .header-cta { display: none; } }
/* catalogue mockups (EN + AR covers), shown whole and larger (15 Oct 2026) */
.cat { grid-template-columns: minmax(280px, 460px) 1fr; }
.cat img { aspect-ratio: 1400 / 980; object-fit: contain; }
.cat__btns { gap: 10px; }
/* catalogue cards: scope photo + real cover side by side, both whole (15 Oct 2026) */
.cat { grid-template-columns: minmax(300px, 600px) 1fr; }
.cat__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; background: #F6F1EA; padding: 10px; border-radius: var(--radius-lg); }
.cat__pics img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: var(--radius); }
.cat__cover { box-shadow: 0 10px 24px -14px rgba(43, 34, 25, .6); }
@media (max-width: 960px) { .cat { grid-template-columns: 1fr; } }
.cat { grid-template-columns: minmax(300px, 520px) 1fr; }
.cat img.cat__stack { aspect-ratio: 1400 / 980; object-fit: contain; border-radius: var(--radius-lg); }
.header-social { display: flex; align-items: center; gap: 4px; }
.header-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--c-ink); transition: color .2s, background .2s; }
.header-social a:hover { background: var(--c-accent); color: var(--c-accent-ink); }
.header-social svg { width: 17px; height: 17px; }
.has-hero .site-header:not(.is-scrolled) .header-social a { color: var(--c-dark-ink); }
.has-hero .site-header.menu-open .header-social a { color: var(--c-ink); }
@media (max-width: 960px) { .header-social { justify-content: center; gap: 14px; padding: 18px 0 6px; } .header-social a { border: 1px solid var(--c-line); width: 42px; height: 42px; } }
/* header: social icons (LinkedIn, Instagram, Facebook) next to the language button, with clear space from the menu (16 Oct 2026) */
@media (min-width: 961px) {
  .site-header .site-nav .lang-switch { margin-inline-start: 26px; padding-inline-start: 26px; border-inline-start: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent); }
  .site-header .site-nav .lang-switch + .lang-switch { margin-inline-start: 0; padding-inline-start: 0; border: 0; }
  .site-header .header-social { margin-inline-start: 4px; }
}
@media (max-width: 1440px) and (min-width: 961px) { .site-header .site-nav .lang-switch { margin-inline-start: 14px; padding-inline-start: 14px; } }
@media (max-width: 1240px) and (min-width: 961px) { .site-header .header-social a { width: 28px; height: 28px; } .site-header .header-social svg { width: 15px; height: 15px; } }
.site-header .site-nav .header-social a { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 0; }
.header-social [data-soon], .socials [data-soon] { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; cursor: default; opacity: .85; }
@media (max-width: 960px) { .site-header .header-social [data-soon] { width: 42px; height: 42px; border: 1px solid var(--c-line); border-radius: 50%; } }

/* quality marks (Mr. Zaher, 17 Oct 2026): gold ZOLARIS row under the product titles and in each catalogue; light plate on photo heroes */
.quality-marks { margin: 10px 0 20px; line-height: 0; }
.quality-marks img { height: 34px; width: auto; max-width: 100%; display: inline-block; background: rgba(255, 255, 255, .94); padding: 6px 10px; border-radius: 6px; box-sizing: content-box; }
.quality-marks.full { margin: 4px 0 14px; }
.quality-marks.full img { height: 26px; padding: 0; background: none; }
[dir="rtl"] .quality-marks { text-align: right; }
@media (max-width: 560px) { .quality-marks img { height: 28px; } .quality-marks.full img { height: 22px; } }
