:root { --bg: #f6f7f9; --ink: #0f1f33; --muted: #5b6676; --line: #dfe3ea; --accent: #f59e0b; --on-accent: #0f1f33; --navy: #0f1f33; --navy2: #172b45; --display: 'Changa'; --radius-btn: 8px; }
.muted { color: var(--muted); }
.head { position: sticky; top: 0; z-index: 30; background: rgba(15, 31, 51, .96); backdrop-filter: blur(10px); color: #fff; }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Changa'; font-size: 26px; font-weight: 800; line-height: 1; }
.logo small { display: block; font-family: 'IBM Plex Sans Arabic'; font-size: 11px; font-weight: 500; opacity: .7; margin-top: 3px; }
.mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; } .mark svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linejoin: round; }
.nav { display: flex; gap: 4px; } .nav a { padding: 8px 14px; border-radius: 8px; color: #c5cfdc; font-weight: 500; } .nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.head-cta { padding: 10px 18px; }

.hero { position: relative; min-height: min(84vh, 700px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(15, 31, 51, .95), rgba(15, 31, 51, .6) 55%, rgba(15, 31, 51, .2)); }
.hero-in { position: relative; padding: 60px 0 100px; } .hero-in > * { max-width: 600px; }
.tag { display: inline-block; padding: 5px 12px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .08); font-size: 14px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); margin: 18px 0 14px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: #cbd5e1; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; } .hero .btn-line { color: #fff; }

.stats { position: relative; z-index: 2; margin-top: -56px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(15, 31, 51, .45); overflow: hidden; }
.stats div { padding: 26px 22px; border-inline-start: 1px solid var(--line); } .stats div:first-child { border: 0; }
.stats b { display: block; font-family: 'Changa'; font-size: 42px; font-weight: 800; line-height: 1.1; color: var(--navy); }
.stats span { color: var(--muted); font-size: 14px; }
.stats small { grid-column: 1 / -1; text-align: center; font-size: 11px; color: var(--muted); padding: 6px; background: var(--bg); }

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc article { padding: 26px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: transform .3s, border-color .3s, box-shadow .3s; }
.svc article:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 40px -28px rgba(15, 31, 51, .5); }
.svc i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #fff7e6; font-style: normal; font-size: 26px; margin-bottom: 14px; }
.svc h3 { font-size: 21px; } .svc p { margin: 0; color: var(--muted); font-size: 14.5px; }

.dark { background: var(--navy); color: #fff; }
.proj-top { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.proj-top h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; } .filters button { padding: 8px 16px; border-radius: 8px; border: 1px solid #2c4262; background: transparent; color: #c5cfdc; cursor: pointer; font-weight: 600; }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.p img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; } .p:hover img { transform: scale(1.06); }
.p div { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(0deg, rgba(15, 31, 51, .95), transparent); }
.p b { display: block; font-size: 18px; } .p span { font-size: 13px; color: var(--accent); font-weight: 600; }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.calc h2 { font-size: clamp(30px, 4.4vw, 44px); }
.calc-form { display: grid; gap: 18px; margin-top: 20px; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
input[type=range] { width: 100%; accent-color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .seg button { padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.calc-out { position: sticky; top: 90px; padding: 28px; border-radius: 18px; background: var(--navy); color: #fff; display: grid; gap: 8px; }
.calc-out > span { color: #9fb0c6; } .calc-out > b { font-family: 'Changa'; font-size: clamp(34px, 5vw, 46px); color: var(--accent); line-height: 1.1; }
.calc-out small { color: #9fb0c6; } .calc-out ul { margin: 10px 0 14px; padding-inline-start: 18px; color: #cbd5e1; font-size: 14px; display: grid; gap: 4px; }
.hint { margin: 0; font-size: 12px; color: var(--muted); text-align: center; } .calc-out .hint { color: #7d8ea5; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.process div { padding: 26px 22px; border-inline-start: 1px solid var(--line); } .process div:first-child { border: 0; }
.process b { font-family: 'Changa'; font-size: 36px; color: var(--accent); } .process h3 { font-size: 19px; margin: 4px 0; } .process p { margin: 0; color: var(--muted); font-size: 14px; }

.quote { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.quote-img img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 18px; }
.quote-form { display: grid; gap: 14px; padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.quote-form h2 { font-size: 32px; margin: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fef2f2; color: #b91c1c; font-size: 14px; }

.foot { background: var(--navy); color: #c5cfdc; padding: 30px 0; } .foot-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; } .foot .logo { color: #fff; }

@media (max-width: 960px) { .svc, .proj { grid-template-columns: 1fr 1fr; } .calc, .quote { grid-template-columns: 1fr; } .calc-out { position: static; } .process { grid-template-columns: 1fr 1fr; } .process div:nth-child(3) { border: 0; } }
@media (max-width: 620px) {
  .nav { display: none; } .head-cta { padding: 9px 12px; font-size: 14px; }
  .hero-in { padding: 40px 0 90px; } .hero p { font-size: 16px; } .hero-btns .btn { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -44px; } .stats div:nth-child(3) { border: 0; } .stats div { border-top: 1px solid var(--line); } .stats div:nth-child(-n+2) { border-top: 0; } .stats b { font-size: 32px; }
  .svc, .proj, .row, .process { grid-template-columns: 1fr; } .process div { border: 0; border-top: 1px solid var(--line); } .process div:first-child { border: 0; }
  .sec { padding: 60px 0; } .quote-form, .calc-form { padding: 20px 16px; } .quote-img img { min-height: 220px; }
}
