:root {
  --navy: #10254a;
  --blue: #2b63e6;
  --blue-deep: #183f93;
  --gold: #c99b45;
  --gold-light: #f2d28d;
  --ink: #172642;
  --muted: #6d7b93;
  --line: #e4eaf3;
  --pale: #f3f7fc;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
html[lang="ar"] body { font-family: "Noto Sans Arabic", "Tahoma", Arial, sans-serif; }
button, a, select { font: inherit; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.nav { max-width: 1180px; margin: auto; height: 78px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 148px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 23px; font-size: 13px; color: #55647b; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language { border: 1px solid var(--line); color: var(--navy); background: white; padding: 9px 10px; border-radius: 6px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: white; padding: 9px 12px; color: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 4px; padding: 14px 21px; font-weight: 700; font-size: 13px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(38, 85, 180, .18); }
.btn-primary { color: white; background: var(--blue); }
.btn-gold { color: var(--navy); background: var(--gold); }
.btn-outline { color: var(--blue); background: white; border: 1px solid var(--blue); }
.btn-small { padding: 10px 14px; font-size: 12px; }

.hero { max-width: 1180px; margin: auto; padding: 46px 28px 66px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; }
.hero h1 { max-width: 600px; color: var(--navy); font-size: clamp(42px, 5.5vw, 72px); line-height: .99; letter-spacing: -.055em; margin: 17px 0 21px; }
.hero h1 span { color: var(--blue); }
.hero h1 .hero-title-line { display: block; color: var(--navy); font-size: .86em; white-space: nowrap; }
.hero h1 > span:not(.hero-title-line) { white-space: nowrap; font-size: .9em; }
.hero p { max-width: 540px; color: var(--muted); line-height: 1.75; font-size: 16px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { min-height: 440px; position: relative; border-radius: 8px 8px 125px 8px; overflow: hidden; background: linear-gradient(145deg, rgba(16,37,74,.42), rgba(43,99,230,.36)), url('./assets/construction.png') center/cover; box-shadow: 0 24px 55px rgba(16,37,74,.19); }
.hero-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,37,74,.62), transparent 53%, rgba(201,155,69,.2)); }
.hero-art-copy { position: absolute; z-index: 1; left: 30px; bottom: 31px; max-width: 270px; color: white; }
.hero-art-copy strong { display: block; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.hero-art-copy small { color: #e7eefb; line-height: 1.5; }
.hero-gold-line { position: absolute; z-index: 2; right: 28px; top: 28px; width: 110px; height: 55px; border-top: 3px solid var(--gold-light); border-radius: 50%; transform: rotate(-12deg); }

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-inner { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 28px; margin-bottom: 5px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.section { max-width: 1180px; margin: auto; padding: 84px 28px; }
.section.pale { max-width: none; background: var(--pale); }
.section-inner { max-width: 1180px; margin: auto; }
.section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { color: var(--navy); font-size: clamp(30px,4vw,48px); line-height: 1.05; letter-spacing: -.045em; margin: 12px 0 15px; }
.section-heading p { color: var(--muted); line-height: 1.7; margin: 0; }
.three-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { background: white; border: 1px solid var(--line); padding: 27px; min-height: 205px; box-shadow: 0 14px 35px rgba(41,65,109,.06); position: relative; }
.service-card:before { content: ''; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 22px; }
.service-card h3 { color: var(--navy); font-size: 18px; margin: 0 0 10px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 17px; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 700; }

.split { display: grid; grid-template-columns: .93fr 1.07fr; gap: 72px; align-items: center; }
.split.reverse { grid-template-columns: 1.07fr .93fr; }
.photo { min-height: 380px; border-radius: 7px 80px 7px 7px; background: center/cover; box-shadow: 0 20px 45px rgba(23,38,66,.13); }
.photo.furniture { background-image: linear-gradient(135deg,rgba(16,37,74,.14),rgba(201,155,69,.15)), url('./assets/furniture.png'); }
.photo.lighting { background-image: linear-gradient(135deg,rgba(16,37,74,.3),rgba(43,99,230,.18)), url('./assets/furniture.png'); }
.photo.category-photo.furniture { background-image: linear-gradient(135deg,rgba(16,37,74,.12),rgba(201,155,69,.14)), url('./assets/furniture.png'); }
.photo.category-photo.smart, .photo.category-photo.electronics { background-image: linear-gradient(135deg,rgba(16,37,74,.08),rgba(43,99,230,.12)), url('./assets/electronics.png'); }
.photo.category-photo.materials { background-image: linear-gradient(135deg,rgba(16,37,74,.12),rgba(201,155,69,.12)), url('./assets/construction.png'); }
.photo.category-photo.generators { background-image: linear-gradient(135deg,rgba(16,37,74,.16),rgba(201,155,69,.12)), url('./assets/generator.png'); }
.photo.category-photo.solar, .photo.category-photo.pv { background-image: linear-gradient(135deg,rgba(16,37,74,.12),rgba(201,155,69,.15)), url('./assets/solar.png'); }
.checks { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 20px; margin-top: 27px; }
.check { display: flex; gap: 9px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.check b { color: var(--gold); }

.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.category-card { min-height: 180px; position: relative; overflow: hidden; border-radius: 5px; background: var(--navy); padding: 22px; color: white; display: flex; flex-direction: column; justify-content: end; }
.category-card:before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(16,37,74,.08),rgba(16,37,74,.9)); }
.category-card.category-furniture { background: linear-gradient(180deg,rgba(16,37,74,.1),rgba(16,37,74,.9)), url('./assets/furniture.png') center/cover; }
.category-card.category-smart, .category-card.category-electronics { background: linear-gradient(180deg,rgba(16,37,74,.08),rgba(16,37,74,.9)), url('./assets/electronics.png') center/cover; }
.category-card.category-materials { background: linear-gradient(180deg,rgba(16,37,74,.1),rgba(16,37,74,.9)), url('./assets/construction.png') center/cover; }
.category-card.category-generators { background: linear-gradient(180deg,rgba(16,37,74,.1),rgba(16,37,74,.9)), url('./assets/generator.png') center/cover; }
.category-card.category-solar, .category-card.category-pv { background: linear-gradient(180deg,rgba(16,37,74,.1),rgba(16,37,74,.9)), url('./assets/solar.png') center/cover; }
.category-card > * { position: relative; z-index: 1; }
.category-card h3 { font-size: 16px; margin: 0 0 5px; }
.category-card p { color: #dce6f7; font-size: 11px; line-height: 1.4; margin: 0 0 14px; }
.category-card .text-link { color: var(--gold-light); }

.case { background: var(--navy); color: white; }
.case .section-heading h2 { color: white; }
.case .section-heading p { color: #c9d7ed; }
.case .photo { border-radius: 7px 7px 100px 7px; }
.case .section-heading .eyebrow { color: var(--gold-light); }
.case-copy h3 { color: white; font-size: 28px; margin: 0 0 16px; }
.case-copy p { color: #c9d7ed; line-height: 1.7; }
.case-stat { display: flex; gap: 35px; margin-top: 28px; }
.case-stat strong { display: block; color: var(--gold-light); font-size: 32px; }
.case-stat span { color: #cad6e9; font-size: 12px; }

.process-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-top: 2px solid var(--gold); }
.process-step { padding: 21px 14px 0; border-right: 1px solid var(--line); min-height: 120px; }
.process-step:last-child { border: 0; }
.process-step b { color: var(--gold); font-size: 22px; display: block; margin-bottom: 10px; }
.process-step strong { display: block; color: var(--navy); font-size: 13px; margin-bottom: 6px; }
.process-step span { color: var(--muted); font-size: 11px; line-height: 1.4; }

.cta-band { background: linear-gradient(105deg,var(--blue-deep),var(--blue)); color: white; padding: 58px 28px; }
.cta-band-inner { max-width: 1180px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: 34px; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #dce8fb; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.btn-wechat { color: var(--navy); background: white; border: 1px solid rgba(255,255,255,.7); }
.btn-wechat:hover { color: white; background: #25d366; border-color: #25d366; }
.brand-panel { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 28px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-panel img { width: 190px; height: auto; }
.brand-panel span { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.footer { background: #0b1b37; color: white; padding: 42px 28px; }
.footer-inner { max-width: 1180px; margin: auto; display: flex; justify-content: space-between; gap: 30px; }
.footer img { width: 150px; filter: brightness(0) invert(1); opacity: .88; }
.footer p, .footer a, .footer span { color: #aebed7; font-size: 12px; line-height: 1.6; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.page-hero { background: var(--pale); padding: 68px 28px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); font-size: clamp(38px,5vw,62px); letter-spacing: -.05em; margin: 15px auto; }
.page-hero p { max-width: 600px; color: var(--muted); line-height: 1.7; margin: auto; }
.detail-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.detail-card { background: white; border: 1px solid var(--line); padding: 26px; border-top: 3px solid var(--gold); }
.detail-card h3 { color: var(--navy); margin: 0 0 10px; }
.detail-card p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.timeline { max-width: 850px; margin: auto; position: relative; }
.timeline:before { content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: #d8e3f1; }
.timeline-item { position: relative; display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 0 0 30px; }
.timeline-number { width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 800; position: relative; z-index: 1; }
.timeline-body { padding: 4px 0 0; }
.timeline-body h3 { color: var(--navy); margin: 0 0 7px; }
.timeline-body p { color: var(--muted); margin: 0; line-height: 1.6; font-size: 13px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.contact-box { background: var(--pale); padding: 30px; border-top: 3px solid var(--gold); }
.contact-row { padding: 17px 0; border-bottom: 1px solid #dce5f0; }
.contact-row:last-child { border: 0; }
.contact-row small { display: block; color: var(--muted); margin-bottom: 5px; }
.contact-row strong { color: var(--navy); }

body.modal-open { overflow: hidden; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8, 25, 56, .62); }
.wechat-modal { width: min(520px, 100%); position: relative; padding: 34px; border-radius: 12px; background: white; box-shadow: 0 28px 80px rgba(6, 25, 62, .3); }
.modal-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; }
.modal-eyebrow { color: #1fb85a; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.wechat-modal h2 { color: var(--navy); margin: 10px 0 8px; }
.wechat-modal p { color: var(--muted); line-height: 1.6; }
.wechat-number { margin: 20px 0 12px; padding: 16px; border-radius: 7px; background: #eafaf0; color: #138a43; font-size: 24px; font-weight: 800; text-align: center; direction: ltr; }
.wechat-message { padding: 14px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 13px; line-height: 1.6; direction: ltr; text-align: left; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.copy-status { min-height: 20px; margin-top: 10px; color: #138a43; font-size: 12px; }

[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links, [dir="rtl"] .nav-actions { flex-direction: row; }
[dir="rtl"] .hero, [dir="rtl"] .split, [dir="rtl"] .split.reverse { direction: rtl; }
[dir="rtl"] .hero-art-copy { left: auto; right: 30px; text-align: right; }
[dir="rtl"] .hero h1 { line-height: 1.18; letter-spacing: 0; font-weight: 700; }
[dir="rtl"] .hero h1 .hero-title-line { font-size: .82em; white-space: normal; }
[dir="rtl"] .section-heading.left { margin-left: auto; margin-right: 0; text-align: right; }
[dir="rtl"] .check { flex-direction: row; }
[dir="rtl"] .process-step { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .process-step:last-child { border-left: 0; }
[dir="rtl"] .modal-close { right: auto; left: 15px; }
[dir="rtl"] .wechat-modal { text-align: right; }
[dir="rtl"] .timeline:before { left: auto; right: 22px; }
[dir="rtl"] .timeline-item { grid-template-columns: 1fr 45px; }
[dir="rtl"] .timeline-number { grid-column: 2; }
[dir="rtl"] .timeline-body { grid-column: 1; grid-row: 1; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 77px; left: 0; right: 0; padding: 18px 28px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero, .split, .split.reverse { grid-template-columns: 1fr; gap: 35px; }
  .hero-art { min-height: 330px; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .nav { padding: 0 18px; }
  .brand img { width: 128px; }
  .nav-actions .btn { display: none; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 44px; }
  .three-grid, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; border-top: 2px solid var(--gold); }
  .process-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .brand-panel { flex-direction: column; text-align: center; }
  .brand-panel img { width: 165px; }
  .checks { grid-template-columns: 1fr; }
}
