/* Capital Lights: shared bilingual design system. */
:root {
  --brand-red: #D8232A;
  --brand-red-deep: #B01B21;
  --ink: #15181D;
  --paper: #F8F7F4;
  --surface: #FFFFFF;
  --line: #E5E0DC;
  --muted: #59616A;
  --red: var(--brand-red);
  --red-dark: var(--brand-red-deep);
  --site-width: 1280px;
}
html[data-theme="dark"] {
  --paper: #15181D;
  --surface: #20252C;
  --ink: #ECEFF3;
  --muted: #B5BDC7;
  --line: #363D46;
}
body, html[data-theme="dark"] body { margin: 0; color: var(--ink); background: var(--paper); }
button { font-family: inherit; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--brand-red); outline-offset: 4px; }
:where(section, [id]) { scroll-margin-top: 125px; }
.site-shell { width: min(var(--site-width), calc(100% - 80px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-block-end: 1px solid var(--line); }
.site-header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { flex-shrink: 0; display: flex; align-items: center; }
.site-brand img { width: 154px; height: 62px; object-fit: contain; }
.site-nav { order: 2; }
.site-nav ul { display: flex; align-items: center; gap: 19px; list-style: none; }
.site-nav a { display: block; padding-block: 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.site-nav a:hover, .site-language:hover { color: var(--brand-red); }
.site-header-actions { order: 3; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 24px; border: 1px solid var(--brand-red); background: var(--brand-red); color: #fff; border-radius: 3px; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; cursor: pointer; transition: background .18s, border-color .18s; }
.site-button:hover { background: var(--brand-red-deep); border-color: var(--brand-red-deep); }
.site-header-quote { font-size: 12px; padding: 10px 16px; min-height: 44px; }
.site-language { min-width: 34px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.site-header .theme { width: 36px; height: 44px; border: 0; border-radius: 3px; }
.site-menu-button { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 3px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; }
.hero { padding-block: 72px 64px; border-block-end: 1px solid var(--line); background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 68px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { color: var(--muted); font-size: 12px; font-weight: 700; margin-block-end: 24px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--brand-red); flex-shrink: 0; }
.hero h1 { margin: 0 0 24px; font-size: clamp(38px, 3.6vw, 58px); font-weight: 800; line-height: 1.25; letter-spacing: -1.6px; }
[dir="rtl"] .hero h1 { line-height: 1.5; letter-spacing: -1px; }
.hero h1 span { color: var(--brand-red); }
.hero-description { color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 510px; margin-block-end: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-button-secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.site-button-secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero-categories { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-block-start: 38px; padding-block-start: 20px; border-block-start: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.hero-categories li { display: flex; gap: 8px; align-items: center; }
.hero-categories li::before { content: ''; width: 4px; height: 4px; background: var(--brand-red); }
.hero-product { margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-block-start: 3px solid var(--brand-red); }
.hero-product-heading { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 24px 0; color: var(--muted); font-size: 10px; font-weight: 700; }
.hero-product img { display: block; width: 100%; height: 350px; object-fit: contain; padding: 24px 32px; }
.hero-product figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 20px 24px; border-block-start: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.hero-product figcaption > span { letter-spacing: 1px; }
.hero-product figcaption a { display: inline-flex; align-items: center; gap: 12px; }
.hero-product figcaption a:hover { color: var(--brand-red); }
@media (min-width: 761px) and (max-width: 1150px) {
  .site-header-inner { flex-wrap: wrap; gap: 0 24px; padding-block-start: 12px; }
  .site-nav { order: 4; width: 100%; border-block-start: 1px solid var(--line); margin-block-start: 10px; }
  .site-nav ul { justify-content: center; }
  .hero-grid { gap: 32px; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 760px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header-inner { min-height: 78px; gap: 10px; flex-wrap: wrap; }
  .site-brand img { width: 112px; height: 52px; }
  .site-header-actions { gap: 5px; }
  .site-header-quote { display: none; }
  .site-menu-button { display: inline-flex; }
  .site-nav { order: 4; width: 100%; padding-block: 4px 16px; border-block-start: 1px solid var(--line); }
  .site-nav[data-open="false"] { display: none; }
  .site-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .site-nav a { padding-block: 10px; font-size: 13px; }
  .hero { padding-block: 34px 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-eyebrow { font-size: 10px; margin-block-end: 16px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); letter-spacing: -1px; margin-block-end: 16px; }
  [dir="rtl"] .hero h1 { font-size: 36px; }
  .hero-description { font-size: 14px; margin-block-end: 22px; }
  .hero-actions { gap: 10px; }
  .hero-actions .site-button { flex: 1; padding: 12px 10px; font-size: 12px; gap: 10px; }
  .hero-categories { margin-block-start: 24px; padding-block-start: 16px; gap: 10px 14px; font-size: 10px; }
  .hero-product-heading { padding: 16px 18px 0; }
  .hero-product img { height: 230px; padding: 20px 28px; }
  .hero-product figcaption { padding: 16px 18px; font-size: 10px; }
}
@media (max-width: 360px) {
  .site-shell { width: calc(100% - 28px); }
  .site-menu-button span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-button { transition: none; }
}
/* Product catalogue and supporting company content. */
.eyebrow { display:block; color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.06em; margin-block-end:12px; }
.section-heading h2 { max-width:780px; font-size:clamp(28px,3vw,42px); line-height:1.4; letter-spacing:-.8px; }
.section-intro { color:var(--muted); max-width:730px; margin-block:20px 40px; }
.catalogue { padding-block:80px; }
.product-feature { display:grid; grid-template-columns:1fr 1.1fr; border-block-start:1px solid var(--line); padding-block:32px; gap:68px; align-items:center; }
.product-photo { background:#fff; border:1px solid var(--line); }
.product-photo img { display:block; width:100%; height:280px; object-fit:contain; padding:24px; }
.product-index { display:block; font-size:11px; color:var(--muted); margin-block-end:12px; letter-spacing:.08em; }
.product-copy h3 { font-size:26px; line-height:1.5; }
.product-copy .model { font-size:12px; color:var(--brand-red); font-weight:800; text-align:start; margin-block:10px 14px; }
[dir="rtl"] .product-copy .model { text-align:right; }
.product-copy p:not(.model) { color:var(--muted); max-width:500px; font-size:14px; margin-block-end:22px; }
.lighting-range { border-block-start:1px solid var(--line); padding-block-start:48px; margin-block-start:16px; display:grid; grid-template-columns:.8fr 1.4fr; gap:48px; }
.lighting-intro h3 { font-size:28px; line-height:1.4; margin-block-end:18px; }
.lighting-intro p { font-size:14px; color:var(--muted); margin-block-end:24px; }
.lighting-models { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.lighting-models figure { margin:0; background:#fff; border:1px solid var(--line); }
.lighting-models img { display:block; width:100%; height:150px; object-fit:contain; padding:16px; }
.lighting-models figcaption { color:#15181D; border-block-start:1px solid #E5E0DC; padding:12px 8px; font-size:10px; font-weight:800; text-align:center; }
.process-band { background:#15181D; color:#fff; padding-block:60px; }
.process-band .eyebrow { color:#BDC3CC; }
.process-steps { list-style:none; counter-reset:steps; display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin-block-start:36px; }
.process-steps li { counter-increment:steps; border-block-start:1px solid #41454C; padding-block-start:18px; }
.process-steps li::before { content:'0' counter(steps); display:block; color:#F17277; font-size:12px; font-weight:800; margin-block-end:16px; }
.process-steps h3 { font-size:18px; margin-block-end:10px; }
.process-steps p { font-size:13px; color:#BDC3CC; }
.company-section { padding-block:80px; }
.company-layout { display:grid; grid-template-columns:1.2fr .8fr; gap:72px; align-items:start; }
.company-layout p { color:var(--muted); font-size:15px; margin-block-start:20px; }
.sector-panel { padding:28px; border:1px solid var(--line); border-block-start:3px solid var(--brand-red); background:var(--surface); }
.sector-panel h3 { font-size:22px; line-height:1.5; }
.sector-panel ul { list-style:none; margin-block-start:20px; }
.sector-panel li { padding-block:14px; border-block-start:1px solid var(--line); font-size:13px; }
.documents-section { padding-block:64px; background:var(--surface); border-block:1px solid var(--line); }
.profile-link { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; border:1px solid var(--line); margin-block:30px 24px; }
.profile-link:hover, .document-links a:hover { border-color:var(--brand-red); }
.profile-link h3 { font-size:24px; }
.profile-link p { color:var(--muted); font-size:14px; margin-block-start:8px; }
.profile-link > span { font-size:32px; color:var(--brand-red); }
.document-note { font-size:13px; color:var(--muted); max-width:960px; line-height:1.9; }
.document-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 28px; margin-block-start:24px; }
.document-links a { display:flex; justify-content:space-between; gap:12px; align-items:center; padding-block:18px; border-block-end:1px solid var(--line); font-size:12px; font-weight:700; }
.contact-section { padding-block:72px; }
.contact-layout { display:grid; grid-template-columns:1.3fr .7fr; gap:72px; align-items:center; }
.contact-section h2 { font-size:clamp(28px,3vw,42px); line-height:1.4; }
.contact-section p { color:var(--muted); margin-block:18px 24px; font-size:14px; }
.contact-section address { font-style:normal; border-inline-start:1px solid var(--line); padding-inline-start:40px; min-width:0; }
.contact-section address > span { display:block; font-size:10px; color:var(--muted); font-weight:800; margin-block:20px 6px; }
.contact-section address > a { display:block; text-align:start; font-size:clamp(15px,1.5vw,21px); font-weight:700; overflow-wrap:anywhere; }
[dir="rtl"] .contact-section address > a { text-align:right; }
.contact-section address .contact-website { font-size:13px; }
footer .wrap { max-width:var(--site-width); padding-inline:0; width:calc(100% - 80px); }
footer img { width:154px; height:62px; object-fit:contain; }
@media(max-width:1000px) {
 .product-feature { gap:36px; }
 .lighting-range { grid-template-columns:1fr; gap:28px; }
 .company-layout,.contact-layout { gap:36px; }
 .document-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .catalogue,.company-section,.documents-section,.contact-section { padding-block:44px; }
 .section-heading h2 { font-size:28px; }
 .section-intro { font-size:14px; margin-block:16px 28px; }
 .product-feature { grid-template-columns:1fr; gap:20px; padding-block:24px; }
 .product-photo img { height:240px; }
 .product-copy h3 { font-size:23px; }
 .product-copy .site-button { width:100%; }
 .lighting-range { padding-block-start:32px; }
 .lighting-models { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .lighting-models img { height:140px; }
 .process-band { padding-block:44px; }
 .process-steps { grid-template-columns:1fr; gap:24px; }
 .company-layout,.contact-layout { grid-template-columns:1fr; gap:28px; }
 .sector-panel,.profile-link { padding:22px; }
 .document-links { grid-template-columns:1fr; }
 .contact-section address { padding-inline-start:0; border-inline-start:0; border-block-start:1px solid var(--line); }
 footer .wrap { width:calc(100% - 40px); }
}

/* The RFQ overlay is shared by the Arabic and English pages. */
.rfq-backdrop[hidden] { display:none !important; }
.rfq-modal { max-height:min(92vh, 920px); max-height:min(92dvh, 920px); }
.rfq-modal form { display:flex; flex:1 1 auto; flex-direction:column; min-height:0; overflow:hidden; }
.rfq-modal .rfq-header,.rfq-modal .rfq-footer { flex-shrink:0; }
.rfq-modal .rfq-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.rfq-file-input,
.product-chip input { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); opacity:0; }
.rfq-file-zone:focus-within,
.product-chip:focus-within,
.rfq-close:focus-visible,
.rfq-file-remove:focus-visible,
.rfq-submit-btn:focus-visible,
.rfq-success-card button:focus-visible { outline:3px solid var(--red); outline-offset:3px; }
.rfq-input[aria-invalid="true"],
.rfq-select[aria-invalid="true"],
.rfq-file-zone:has(.rfq-file-input[aria-invalid="true"]) { border-color:var(--red); }
.rfq-file-remove { border:0; background:transparent; padding:4px 8px; line-height:1; font:inherit; }
.rfq-alert:focus { outline:3px solid var(--red); outline-offset:3px; }
@media(max-width:600px) {
  .rfq-backdrop { padding:8px; }
  .rfq-modal { max-height:calc(100dvh - 16px); }
  .rfq-header,.rfq-body,.rfq-footer { padding-inline:16px; }
  .rfq-footer { flex-wrap:wrap; }
  .rfq-submit-btn { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .rfq-backdrop,.rfq-modal { transition:none; }
}
