/* ==========================================================================
   ProGlass — Professional Glass Company
   Design language: warm linen neutrals + serif display (Kolbe-inspired),
   practical service detail + WhatsApp-first contact (Haron-inspired).
   Brand colours come from the ProGlass logo (indigo + steel grey).
   ========================================================================== */

:root {
  --indigo: #34449a;
  --indigo-deep: #232f6e;
  --steel: #6d7076;
  --steel-light: #a9acb1;
  --ink: #23252a;
  --ink-soft: #4a4d54;
  --linen: #f3f0ea;
  --linen-2: #e8e3da;
  --paper: #fbfaf7;
  --line: rgba(35, 37, 42, .14);
  --white: #fff;
  --wa: #25d366;

  --serif: "Cormorant Garamond", "Libre Caslon Text", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
p { margin: 0 0 1.1em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 1.1rem;
}
.eyebrow [lang="ar"] { font-family: "Noto Kufi Arabic", sans-serif; letter-spacing: 0; text-transform: none; font-size: .95rem; }
.eyebrow.light { color: rgba(255,255,255,.85); }

/* Linen gradient surface, like Kolbe's brushed-paper sections */
.surface-linen {
  background:
    linear-gradient(90deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.55) 18%, rgba(255,255,255,0) 40%, rgba(255,255,255,.45) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, var(--linen) 0%, var(--linen-2) 100%);
}
.surface-dark { background: var(--ink); color: #e9e7e2; }
.surface-dark h2, .surface-dark h3 { color: #fff; }
.surface-dark p { color: rgba(255,255,255,.72); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Links & buttons ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .95rem; letter-spacing: .04em; color: var(--ink);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow::after { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.link-arrow:hover { border-color: currentColor; gap: .85em; }
.link-arrow.light { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-solid:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.btn-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb957; border-color: #1eb957; color: #fff; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 44px; width: auto; transition: opacity .3s; }
.brand .logo-color { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 400; letter-spacing: .26em; font-size: 1.15rem; }
.brand-tag { font-size: .54rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 6px; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a { color: #fff; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #fff; font-size: .85rem; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.header-phone svg { width: 16px; height: 16px; fill: currentColor; }
.menu-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: none; position: relative; color: #fff; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: ""; transition: transform .35s var(--ease), top .35s, opacity .2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }

/* scrolled / solid header */
.site-header.solid { background: rgba(251, 250, 247, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); height: 70px; }
.site-header.solid .brand { color: var(--ink); }
.site-header.solid .brand .logo-white { display: none; }
.site-header.solid .brand .logo-color { display: block; }
.site-header.solid .main-nav a, .site-header.solid .header-phone, .site-header.solid .menu-toggle { color: var(--ink); }
.site-header.solid .btn-light { border-color: var(--ink); color: var(--ink); }
.site-header.solid .btn-light:hover { background: var(--ink); color: #fff; }

/* full-screen menu (mobile & tablet) */
.menu-panel {
  position: fixed; inset: 0; z-index: 49; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu-panel nav { display: flex; flex-direction: column; gap: 8px; }
.menu-panel nav a { font-family: var(--serif); font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.2; color: #fff; opacity: .9; transform: translateY(18px); transition: transform .5s var(--ease), opacity .5s; }
.menu-panel nav a:hover { opacity: 1; color: var(--steel-light); }
.menu-panel .menu-contact { margin-top: 40px; font-size: .95rem; color: rgba(255,255,255,.7); display: grid; gap: 6px; }
.menu-open .menu-panel { opacity: 1; visibility: visible; }
.menu-open .menu-panel nav a { transform: none; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand, .menu-open .site-header .menu-toggle { color: #fff; }
.menu-open .site-header .brand .logo-white { display: block; }
.menu-open .site-header .brand .logo-color { display: none; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #111; color: #fff; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,20,.62) 0%, rgba(10,12,20,.25) 45%, rgba(10,12,20,0) 70%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%); pointer-events: none; }
.hero-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); }
.hero-content h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero-content p { color: rgba(255,255,255,.85); max-width: 46ch; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-caption {
  position: absolute; z-index: 2; right: 0; bottom: clamp(48px, 9vh, 110px);
  background: rgba(251,250,247,.92); color: var(--ink); padding: 16px 26px; font-family: var(--serif); font-size: 1.15rem;
  max-width: 420px;
}
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.hero-dots button { width: 2px; height: 34px; padding: 0; border: 0; background: rgba(255,255,255,.4); transition: background .3s; }
.hero-dots button.is-active { background: #fff; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 46px; background: rgba(255,255,255,.35); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: #fff; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 46px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; height: 72vh; min-height: 480px; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: #111; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.05) 35%, rgba(0,0,0,.6)); }
.page-hero .container { position: relative; z-index: 2; padding-bottom: clamp(40px, 8vh, 90px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 52ch; font-size: 1.08rem; }

/* ---------- Intro statement ---------- */
.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.3; color: var(--ink); font-weight: 400; }
.statement em { color: var(--indigo); font-style: italic; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.stat { padding: 28px 20px 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--indigo); line-height: 1; }
.stat-label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-top: 10px; }

/* ---------- Feature (Residential / Commercial) ---------- */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 140px); }
.feature.reverse { grid-template-columns: 1fr 1.25fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-media .tag { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 10px 18px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.feature-body ul { list-style: none; padding: 0; margin: 0 0 30px; columns: 2; column-gap: 24px; }
.feature-body li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; break-inside: avoid; }

/* ---------- Service cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 46ch; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--paper); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(20,24,40,.35); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body .ar { font-family: "Noto Kufi Arabic", sans-serif; font-size: .85rem; color: var(--steel); margin-bottom: 6px; direction: rtl; text-align: left; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { font-size: .96rem; flex: 1; }

/* ---------- Product-line style list (Kolbe) ---------- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.lines h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: 18px; }
.lines ul { list-style: none; margin: 0; padding: 0; }
.lines li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; transition: padding .35s var(--ease), color .3s; }
.lines li a::after { content: ""; border-left: 6px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; opacity: .5; }
.lines li a:hover { padding-left: 10px; color: var(--indigo); }

/* ---------- Quote / testimonial ---------- */
.quote-band { position: relative; overflow: hidden; color: #fff; }
.quote-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: rgba(17, 20, 34, .62); z-index: 1; }
.quote-band .container { position: relative; z-index: 2; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.3; max-width: 26ch; color: #fff; }
.quote-band cite { display: block; margin-top: 28px; font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 34px 28px 10px 0; border-top: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 2.6rem; color: var(--indigo); display: block; line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.45rem; }
.step p { font-size: .95rem; }
.surface-dark .step { border-color: rgba(255,255,255,.18); }
.surface-dark .step::before { color: var(--steel-light); }

/* ---------- Gallery / carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 min(78vw, 520px); scroll-snap-align: start; }
.carousel-item .ci-media { aspect-ratio: 4 / 5; overflow: hidden; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carousel-item:hover img { transform: scale(1.05); }
.carousel-item h3 { font-size: 1.45rem; margin: 18px 0 4px; }
.carousel-item p { font-size: .92rem; margin: 0; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav button { width: 52px; height: 52px; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; transition: background .3s, color .3s; color: var(--ink); }
.carousel-nav button:hover { background: var(--ink); color: #fff; }
.carousel-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* masonry-ish gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 10px 20px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); transition: all .3s; }
.filters button.is-active, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 3; column-gap: 20px; }
.gallery figure { margin: 0 0 20px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery figure img { width: 100%; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-family: var(--serif); font-size: 1.2rem; opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); }
.gallery figcaption small { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,13,18,.94); display: none; align-items: center; justify-content: center; padding: 40px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1.4rem; }

/* ---------- Split (about / craftsmanship) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split-media { position: relative; overflow: hidden; min-height: 420px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 110px); }

/* ---------- Service detail (services page) ---------- */
.svc-nav { position: sticky; top: 70px; z-index: 10; background: rgba(251,250,247,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.svc-nav .container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.svc-nav .container::-webkit-scrollbar { display: none; }
.svc-nav a { white-space: nowrap; padding: 18px 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); border-bottom: 2px solid transparent; }
.svc-nav a:hover, .svc-nav a.active { color: var(--ink); border-color: var(--indigo); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.svc:last-child { border-bottom: 0; }
.svc.reverse .svc-media { order: 2; }
.svc-media { position: sticky; top: 150px; }
.svc-media .main { aspect-ratio: 4 / 5; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc .ar { font-family: "Noto Kufi Arabic", sans-serif; color: var(--steel); font-size: .95rem; margin-bottom: 4px; }
.svc h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.svc h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin: 30px 0 12px; }
.checklist { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.checklist li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); font-size: .95rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 1px; background: var(--indigo); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin: 0 0 30px; }
.specs div { background: var(--paper); padding: 16px; }
.specs b { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--indigo); }
.specs span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 36px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); padding-top: 4px; }
.contact-list a:hover { color: var(--indigo); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(35,37,42,.3); background: transparent; padding: 10px 0 12px; font: inherit; color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { font-size: .85rem; color: var(--steel); margin: 0; }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; filter: grayscale(.85) contrast(1.05); display: block; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #17181c; color: rgba(255,255,255,.66); padding: 90px 0 30px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 22px; }
.site-footer p { color: rgba(255,255,255,.6); max-width: 34ch; }
.footer-ar { font-family: "Noto Kufi Arabic", sans-serif; color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--indigo); border-color: var(--indigo); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; padding: 12px 20px 12px 14px; border-radius: 40px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  font-size: .9rem; font-weight: 500; letter-spacing: .02em; transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .feature, .feature.reverse, .svc, .split, .contact-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-media, .svc.reverse .svc-media { order: 0; }
  .svc-media { position: relative; top: 0; }
  .svc-media .main { aspect-ratio: 4 / 3; }
  .lines { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 24px; }
  .gallery { columns: 2; }
  .hero-caption, .hero-dots { display: none; }
  .split-media { min-height: 360px; }
}
@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .brand img { height: 38px; }
  .brand-name { font-size: 1rem; }
  .header-actions .btn { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .feature-body ul, .checklist { columns: 1; grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Language switch ---------- */
.lang-switch {
  color: #fff; font-size: .9rem; padding: 6px 12px; border: 1px solid rgba(255,255,255,.4);
  transition: background .3s, color .3s, border-color .3s; line-height: 1.4;
}
.lang-switch:hover { background: #fff; color: var(--ink); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-switch[lang="en"] { font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
.site-header.solid .lang-switch { color: var(--ink); border-color: var(--line); }
.site-header.solid .lang-switch:hover { background: var(--ink); color: #fff; }
.menu-open .site-header .lang-switch { color: #fff; border-color: rgba(255,255,255,.4); }
.menu-panel .menu-lang { margin-top: 28px; }
.menu-panel .menu-lang a { font-size: 1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ==========================================================================
   Arabic / RTL version
   ========================================================================== */
[dir="rtl"] {
  --serif: "Amiri", "Noto Naskh Arabic", serif;
  --sans: "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif;
}
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { line-height: 1.35; font-weight: 700; }
[dir="rtl"] h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
[dir="rtl"] .statement { line-height: 1.6; font-size: clamp(1.6rem, 3vw, 2.5rem); }
[dir="rtl"] .statement em { font-style: normal; }
/* Arabic letters must never be letter-spaced or upper-cased */
[dir="rtl"] .eyebrow, [dir="rtl"] .main-nav a, [dir="rtl"] .btn, [dir="rtl"] .brand-tag,
[dir="rtl"] .stat-label, [dir="rtl"] .feature-media .tag, [dir="rtl"] .lines h4, [dir="rtl"] .svc h4,
[dir="rtl"] .specs span, [dir="rtl"] .filters button, [dir="rtl"] .svc-nav a, [dir="rtl"] .field label,
[dir="rtl"] .contact-list span, [dir="rtl"] .site-footer h4, [dir="rtl"] .quote-band cite,
[dir="rtl"] .gallery figcaption small, [dir="rtl"] .link-arrow {
  letter-spacing: 0; text-transform: none;
}
[dir="rtl"] .eyebrow { font-size: .95rem; font-weight: 500; }
[dir="rtl"] .main-nav a { font-size: .98rem; }
[dir="rtl"] .btn { font-size: .95rem; padding: 13px 28px; }
[dir="rtl"] .stat-label, [dir="rtl"] .lines h4, [dir="rtl"] .svc h4, [dir="rtl"] .site-footer h4,
[dir="rtl"] .field label, [dir="rtl"] .contact-list span { font-size: .9rem; }
[dir="rtl"] .brand-name, [dir="rtl"] .brand-tag { font-family: "Jost", sans-serif; letter-spacing: .26em; }
[dir="rtl"] .brand-tag { letter-spacing: .3em; text-transform: uppercase; }
[dir="rtl"] .brand { direction: ltr; }

[dir="rtl"] .link-arrow::after, [dir="rtl"] .lines li a::after {
  border-left: 0; border-right: 6px solid currentColor;
}
[dir="rtl"] .lines li a:hover { padding-left: 0; padding-right: 10px; }

[dir="rtl"] .hero::after {
  background: linear-gradient(270deg, rgba(10,12,20,.62) 0%, rgba(10,12,20,.25) 45%, rgba(10,12,20,0) 70%), linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%);
}
[dir="rtl"] .hero-caption { right: auto; left: 0; }
[dir="rtl"] .hero-dots { right: auto; left: var(--gutter); }
[dir="rtl"] .feature-media .tag { left: auto; right: 0; }

[dir="rtl"] .stat { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stat:first-child { border-right: 0; padding-left: 20px; padding-right: 0; }
[dir="rtl"] .step { padding: 34px 0 10px 28px; }

[dir="rtl"] .checklist li { padding: 10px 26px 10px 0; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }

.carousel-flush { padding-right: 0 !important; }
[dir="rtl"] .carousel-flush { padding-left: 0 !important; padding-right: var(--gutter) !important; }
[dir="rtl"] .carousel-nav svg { transform: scaleX(-1); }
[dir="rtl"] .gallery figcaption { font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }

[dir="rtl"] .wa-float { right: auto; left: 20px; padding: 12px 14px 12px 20px; }
[dir="rtl"] .lightbox button { right: auto; left: 18px; }
[dir="rtl"] .field input[type="tel"] { direction: ltr; text-align: right; }

@media (max-width: 860px) {
  [dir="rtl"] .stat:nth-child(3) { border-right: 0; padding-right: 0; }
}
@media (max-width: 600px) {
  [dir="rtl"] .wa-float { padding: 14px; }
}

@media (max-width: 600px) {
  .brand-tag { white-space: nowrap; }
  .lang-switch { padding: 5px 10px; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
}
