/* ORKEDIA public website – RTL-first, logical properties, no framework.
   Look: warm cream background, olive accents, natural wood, generous whitespace, pill buttons. */
.site { background: var(--ivory); font-size: 16px; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section.white { background: var(--surface-2); }
.section.dark { background: var(--charcoal); color: #eeeadf; }
.eyebrow { display: inline-block; color: var(--ink); font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: .02em; font-size: 13.5px; }
.dark .eyebrow { color: #d9d3c4; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2, .h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 400; margin: 0; max-width: 720px; letter-spacing: -.01em; }
html[lang="ar"] .section-head h2, html[lang="ar"] .h2 { font-weight: 500; }
.section-head p { color: var(--muted); max-width: 540px; margin: 10px 0 0; }
.dark .section-head p { color: #b8b2a4; }
.lead { font-size: 17px; color: var(--ink-2); }
.muted { color: var(--muted); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.text-center { text-align: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-2); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px -22px rgba(0,0,0,.35); }
.header-row { display: flex; align-items: center; gap: 28px; height: 74px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.site-brand img.brand-logo { height: 38px; width: auto; }
.site-brand strong { display: block; font-family: var(--font-en); letter-spacing: .18em; font-size: 19px; font-weight: 500; line-height: 1.1; text-transform: uppercase; }
html[lang="ar"] .site-brand strong.ar-name { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; }
.site-brand small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.site-brand.light, .site-brand.light strong { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.site-nav a { padding: 8px 14px; font-weight: 500; font-size: 13.5px; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; position: relative; transition: color .2s; }
html[lang="ar"] .site-nav a { font-size: 14.5px; letter-spacing: 0; }
.site-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1px; background: var(--olive); transform: scaleX(0); transition: transform .25s var(--ease); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--olive); }
.site-nav .lang-switch { display: none; }
.header-cta { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 0; cursor: pointer; position: relative; transition: background .2s; font-size: 12px; font-weight: 600; font-family: var(--font-en); }
.icon-btn:hover { background: var(--cream-2); }
.header-cta .btn-primary { padding: 9px 18px; font-size: 13.5px; }
.nav-toggle { display: none; }

/* Hero (full-bleed image, copy on the light side) */
.hero { position: relative; }
.hero-card { position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; isolation: isolate; }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(245,242,235,.97) 0%, rgba(245,242,235,.86) 32%, rgba(245,242,235,0) 62%); }
[dir="ltr"] .hero-card::after { background: linear-gradient(90deg, rgba(245,242,235,.97) 0%, rgba(245,242,235,.86) 32%, rgba(245,242,235,0) 62%); }
.hero-body { width: min(1240px, 100% - 48px); margin-inline: auto; padding: 72px 0; }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.12; margin: 0 0 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
html[lang="ar"] .hero h1 { line-height: 1.35; }
.hero p.lead { color: var(--ink-2); max-width: 420px; margin-bottom: 30px; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-light:hover { background: var(--ink); color: #fff; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-en); font-size: 26px; font-weight: 600; color: var(--olive); }
.hero-stats div span { font-size: 12.5px; color: var(--muted); }

/* Featured cards (product-card look) */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card, .proj-card { display: flex; flex-direction: column; color: var(--ink); }
.svc-card .media, .proj-card .media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; background: var(--cream-2); }
.proj-card .media { aspect-ratio: 5/4; }
.proj-card.wide .media { aspect-ratio: 16/10; }
.svc-card .media img, .proj-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .media img, .proj-card:hover .media img { transform: scale(1.04); }
.card-foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 2px 0; }
.card-foot h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; }
.card-foot p, .card-foot .meta { color: var(--muted); font-size: 14px; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.card-foot .meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-foot .go { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; transition: background .2s, color .2s; }
.svc-card:hover .go, .proj-card:hover .go { background: var(--olive); color: #fff; }
.svc-card .ic-wrap { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 500; }
.tag.light { background: var(--cream-2); }
.proj-card .tag-top { position: absolute; top: 12px; inset-inline-start: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--olive); font-size: 14px; }
.link-arrow .ic-sm { transition: transform .2s; }
.link-arrow:hover .ic-sm { transform: translateX(-4px); }
[dir="ltr"] .link-arrow:hover .ic-sm { transform: translateX(4px); }

/* Promo banners (wood band + two-up) */
.promo { position: relative; overflow: hidden; border-radius: 10px; min-height: 230px; display: flex; align-items: center; color: #fff; isolation: isolate; background: var(--wood); }
.promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(110,80,48,.92) 0%, rgba(140,107,69,.72) 45%, rgba(140,107,69,.05) 100%); }
[dir="ltr"] .promo::after { background: linear-gradient(90deg, rgba(110,80,48,.92) 0%, rgba(140,107,69,.72) 45%, rgba(140,107,69,.05) 100%); }
.promo-body { padding: 36px 44px; max-width: 520px; }
.promo .eyebrow { color: rgba(255,255,255,.88); }
.promo h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; margin: 0 0 8px; color: #fff; }
.promo p { color: rgba(255,255,255,.88); margin-bottom: 20px; }
.promo.dark-wood::after { background: linear-gradient(270deg, rgba(64,44,24,.9) 0%, rgba(84,58,32,.7) 50%, rgba(84,58,32,.25) 100%); }
[dir="ltr"] .promo.dark-wood::after { background: linear-gradient(90deg, rgba(64,44,24,.9) 0%, rgba(84,58,32,.7) 50%, rgba(84,58,32,.25) 100%); }
.promo.soft { color: var(--ink); align-items: flex-end; background: var(--cream-2); }
.promo.soft::after { background: linear-gradient(0deg, rgba(239,235,227,.95) 0%, rgba(239,235,227,0) 60%); }
.promo.soft .promo-body { margin-inline-start: auto; text-align: end; padding: 28px 30px; }
.promo.soft .eyebrow { color: var(--ink); }
.promo.soft p { color: var(--ink-2); margin: 0; }
.promo-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 8px; margin-top: 8px; }
.promo-grid .promo { min-height: 320px; }

/* Intro / stats */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro-media .badge-float { position: absolute; inset-inline-start: -20px; bottom: 32px; background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; }
.badge-float strong { font-family: var(--font-en); font-size: 28px; color: var(--olive); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.stats-row div { border-top: 1px solid var(--line); padding-top: 14px; }
.stats-row strong { display: block; font-family: var(--font-en); font-size: 28px; font-weight: 600; color: var(--olive); }
.stats-row span { color: var(--muted); font-size: 14px; }

/* Before/after showcase */
.compare-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.compare { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; --pos: 50%; user-select: none; background: #ddd; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .c-after { clip-path: inset(0 0 0 var(--pos)); }
[dir="rtl"] .compare .c-after { clip-path: inset(0 var(--pos) 0 0); }
.compare .c-handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
[dir="rtl"] .compare .c-handle { transform: translateX(1px); }
.compare .c-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--olive); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); font-size: 18px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .c-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; font-weight: 600; pointer-events: none; }
.compare .c-label.l-before { inset-inline-start: 14px; }
.compare .c-label.l-after { inset-inline-end: 14px; }

/* Features */
.feature { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid var(--line-2); }
.dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.feature .ic-wrap { width: 48px; height: 48px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.dark .feature .ic-wrap { background: rgba(231,232,219,.1); color: #dfe0cf; }
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }
.dark .feature p { color: #b8b2a4; }
.steps { counter-reset: step; }
.steps .feature { position: relative; }
.steps .feature::before { counter-increment: step; content: "0" counter(step); position: absolute; inset-inline-end: 24px; top: 22px; font-family: var(--font-en); font-size: 32px; font-weight: 600; color: rgba(75,81,49,.18); }

/* Testimonials */
.quote-card { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.quote-card .stars { color: var(--wood); letter-spacing: 2px; }
.quote-card blockquote { margin: 0; font-size: 15.5px; color: var(--ink-2); flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.quote-card .who small { display: block; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; border-radius: 10px; overflow: hidden; background: var(--olive); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta-band p { color: #dcdccb; }
.cta-band .eyebrow { color: #e3e3d3; }
.cta-band .calc-preview { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 22px; }
.calc-preview .row-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: 14px; }
.calc-preview .row-line:last-child { border: 0; font-weight: 700; font-size: 18px; }

/* FAQ */
.faq details { background: #fff; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 22px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--cream-2); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--olive); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* Page hero */
.page-hero { padding: 56px 0 36px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); margin: 0 0 12px; font-weight: 600; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 17px; }
.breadcrumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .breadcrumbs { letter-spacing: 0; font-size: 13px; }
.breadcrumbs a:hover { color: var(--ink); }
.cover-img { border-radius: 10px; overflow: hidden; aspect-ratio: 21/9; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; background: #fff; padding: 8px; border-radius: 999px; border: 1px solid var(--line-2); }
.filters .input, .filters .select { border-radius: 999px; min-height: 44px; flex: 1; min-width: 180px; border-color: transparent; background-color: var(--surface-2); }
.filters .btn { border-radius: 999px; }

/* Project detail */
.proj-hero { padding: 40px 0 0; }
.proj-hero .ph-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.proj-hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; max-width: 760px; }
.proj-hero .ph-sub { color: var(--ink-2); max-width: 620px; font-size: 17px; margin: 0; }
.proj-cover { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 21/9; background: var(--cream-2); }
.proj-cover img { width: 100%; height: 100%; object-fit: cover; }
.proj-cover .count-chip { position: absolute; bottom: 18px; inset-inline-end: 18px; background: rgba(255,255,255,.94); color: var(--ink); border: 0; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; border-block: 1px solid var(--line); }
.facts div { padding: 22px 20px; border-inline-start: 1px solid var(--line); }
.facts div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts > div > span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
html[lang="ar"] .facts > div > span { letter-spacing: 0; font-size: 13px; }
.facts strong { font-size: 17px; font-weight: 600; }
.proj-section { padding: 64px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 10px; }
.gallery a { border-radius: 10px; overflow: hidden; display: block; position: relative; background: var(--cream-2); }
.gallery a:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
/* fill the last row of a 5-photo block (one large + four small) so no holes are left */
.gallery a:nth-child(5n+1):last-child { grid-column: span 4; }
.gallery a:nth-child(5n+2):last-child { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(5n+2):nth-last-child(2), .gallery a:nth-child(5n+3):last-child { grid-row: span 2; }
.gallery a:nth-child(5n+4):last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(31,31,27,0); transition: background .3s; }
.gallery a:hover::after { background: rgba(31,31,27,.12); }
.prose { font-size: 16.5px; color: var(--ink-2); line-height: 1.95; }
.prose p { margin-bottom: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.side-card { background: #fff; border-radius: 10px; padding: 26px; border: 1px solid var(--line-2); position: sticky; top: 100px; }
.side-card h3 { font-size: 19px; font-weight: 600; }
.side-card .btn { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* Lightbox with navigation */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,17,.94); display: none; align-items: center; justify-content: center; padding: 24px 70px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 18px; inset-inline-end: 18px; }
.lightbox .lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #e9e5da; font-size: 13px; font-family: var(--font-en); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; align-items: start; }
.contact-card { background: var(--olive); color: #fff; border-radius: 10px; padding: 36px; }
.contact-card h2 { font-size: 26px; }
.contact-card .c-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-card .c-item .ic-wrap { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .c-item span { display: block; color: #d7d8c6; font-size: 13px; }
.form-card { background: #fff; border-radius: 10px; padding: 36px; border: 1px solid var(--line-2); }
.form-card .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ivory); color: var(--ink-2); padding: 64px 0 0; margin-top: 72px; border-top: 1px solid var(--line-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 40px; }
.site-footer h4 { color: var(--ink); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; font-size: 14px; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--olive); }
.footer-about { color: var(--muted); font-size: 14px; margin: 16px 0; max-width: 340px; }
.newsletter { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; padding-inline-start: 18px; margin-top: 14px; }
.newsletter input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 14px; padding: 8px 0; }
.newsletter button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--olive); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.newsletter button:hover { background: var(--olive-dark); }
.socials { display: flex; gap: 8px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--olive); color: #fff; }
.socials .ic-sm { width: 15px; height: 15px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic-sm { color: var(--olive); margin-top: 5px; }
.footer-bottom-wrap { background: var(--cream-2); margin-top: 48px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; font-size: 12.5px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #1f7a4d; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(31,122,77,.6); font-weight: 600; font-size: 14px; transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.flash { margin-top: 18px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 20px 24px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .35s var(--ease); margin: 0; max-height: calc(100vh - 74px); overflow: auto; }
  .site-nav.open { transform: none; }
  .site-nav a { padding: 12px 6px; font-size: 15px; border-bottom: 1px solid var(--line-2); }
  .site-nav a::after { display: none; }
  .site-nav .lang-switch { display: inline-flex; align-items: center; gap: 6px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-inline-start: auto; }
  .intro-grid, .compare-wrap, .cta-band, .two-col, .contact-grid, .promo-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a:nth-child(n):nth-last-child(n) { grid-column: auto; grid-row: auto; }
  .gallery a:first-child:nth-last-child(n) { grid-column: span 3; grid-row: span 2; }
  .gallery a:nth-child(3n+2):last-child:nth-last-child(n) { grid-column: span 3; }
  .gallery a:nth-child(3n):last-child:nth-last-child(n) { grid-column: span 2; }
}
@media (max-width: 720px) {
  .container, .hero-body { width: min(1240px, 100% - 32px); }
  .section { padding: 64px 0; }
  .header-row { height: 64px; gap: 10px; }
  .site-nav { inset-block-start: 64px; }
  .header-cta .btn-primary span { display: none; }
  .header-cta .btn-primary { padding: 9px 11px; }
  .site-brand small { display: none; }
  .site-brand strong { font-size: 16px; }
  .hero-card { min-height: 540px; align-items: flex-start; }
  .hero-card::after, [dir="ltr"] .hero-card::after { background: linear-gradient(180deg, rgba(245,242,235,.97) 0%, rgba(245,242,235,.92) 70%, rgba(245,242,235,.4) 100%); }
  .hero-body { padding: 40px 0; }
  .hero-stats { gap: 22px; }
  .g3, .g2, .g4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div { border-bottom: 1px solid var(--line-2); }
  .proj-cover { aspect-ratio: 4/3; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery.gallery a:nth-child(n):nth-last-child(n) { grid-column: auto; grid-row: auto; }
  .gallery.gallery a:first-child:nth-last-child(n) { grid-column: span 2; grid-row: span 2; }
  .gallery.gallery a:nth-child(2n):last-child:nth-last-child(n) { grid-column: span 2; }
  .cta-band { padding: 32px 24px; }
  .promo-body { padding: 28px 24px; }
  .promo::after, [dir="ltr"] .promo::after { background: linear-gradient(180deg, rgba(110,80,48,.88), rgba(140,107,69,.6)); }
  .intro-media .badge-float { inset-inline-start: 12px; bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .form-card, .contact-card { padding: 24px; }
  .form-card .grid2 { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .section-head { margin-bottom: 26px; }
  .lightbox { padding: 24px 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* ---------- Calculator ---------- */
.calc-hero { padding-bottom: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.calc-steps { list-style: none; margin: 0 0 24px; padding: 8px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: #fff; border-radius: 12px; border: 1px solid var(--line-2); }
.calc-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px; transition: background .2s, color .2s; }
.calc-steps .dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.calc-steps li.active { background: var(--olive); color: #fff; }
.calc-steps li.active .dot { background: #fff; border-color: #fff; color: var(--olive); }
.calc-steps li.done { color: var(--ink); }
.calc-steps li.done .dot { background: var(--sand); border-color: var(--sand); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.calc-main { background: #fff; border-radius: 12px; border: 1px solid var(--line-2); padding: 32px; min-height: 420px; }
.calc-main h2 { font-size: 24px; margin: 0 0 8px; }
.calc-panel { display: none; animation: calcIn .35s var(--ease); }
.calc-panel.active { display: block; }
@keyframes calcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.calc-nav [data-next] { margin-inline-start: auto; }
.calc-nav .calc-step-label { flex: 1; text-align: center; }
.calc-msg { margin-top: 14px; background: #fbeeea; color: #8d3a26; border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.type-picker { border: 0; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.type-opt input { position: absolute; opacity: 0; }
.type-opt span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: 18px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; color: var(--ink-2); text-align: center; }
.type-opt span .ic { width: 26px; height: 26px; color: var(--gold-dark); }
.type-opt input:checked + span { border-color: var(--charcoal); background: var(--ivory); box-shadow: 0 0 0 1px var(--charcoal) inset; color: var(--ink); }
.type-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.calc-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.skeleton { height: 110px; border-radius: 18px; background: linear-gradient(90deg, var(--ivory), #fff, var(--ivory)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.cat-card { position: relative; display: flex; gap: 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; background: #fff; }
.cat-card:hover { border-color: var(--sand); }
.cat-card input { position: absolute; opacity: 0; }
.cat-card.on { border-color: var(--charcoal); background: var(--ivory); box-shadow: 0 0 0 1px var(--charcoal) inset; }
.cat-card:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.cat-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--ivory); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-card.on .cat-ic { background: #fff; }
.cat-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cat-body small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.cat-from { font-size: 12.5px; color: var(--gold-dark); font-weight: 600; margin-top: 4px; }
.cat-check { position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: transparent; }
.cat-card.on .cat-check { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.mat-cat { margin-top: 22px; }
.mat-cat > h3 { font-size: 15px; color: var(--gold-dark); margin-bottom: 10px; }
.mat-item { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.mat-item.on { border-color: var(--charcoal); }
.mat-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; cursor: pointer; background: #fff; }
.mat-head input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--charcoal); }
.mat-head small { display: block; color: var(--muted); font-size: 13px; }
.mat-body { display: none; padding: 0 18px 18px; border-top: 1px dashed var(--line); background: #fcfbf8; }
.mat-item.on .mat-body { display: block; }
.mb-label { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 14px 0 8px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink-2); }
.pill.on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.mat-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.mat-opt { position: relative; display: block; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; background: #fff; }
.mat-opt input { position: absolute; opacity: 0; }
.mat-opt.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; background: #fffdf8; }
.mat-opt:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.mo-body { display: flex; flex-direction: column; gap: 2px; }
.mo-body b { font-size: 14px; }
.mo-body small { font-size: 12px; color: var(--muted); }
.mo-price { font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 4px; }
.mat-extras { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.qty-table { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.qty-row { display: grid; grid-template-columns: 1.3fr 1fr 220px; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); }
.qty-row.need { border-color: #d9a441; background: #fffaf0; }
.qr-name b, .qr-name small { display: block; }
.qr-input { display: flex; align-items: center; gap: 8px; }
.qr-input .input { min-height: 44px; text-align: center; }
.qr-input .input:disabled { background: var(--ivory); color: var(--ink-2); }
.qr-input .unit { color: var(--muted); font-size: 13px; min-width: 28px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.badge-prelim { display: inline-flex; align-items: center; gap: 6px; background: #fff6e5; color: #8a5a00; border: 1px solid #f0d9a8; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; }
.res-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.res-table th { background: var(--ivory); text-align: start; font-weight: 600; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }
.res-table td { padding: 12px 14px; border-top: 1px solid var(--line-2); vertical-align: top; }
.res-table td.num { white-space: nowrap; }
.res-table .strong { font-weight: 700; }
.d-block { display: block; }
.res-totals { margin: 16px 0 0; margin-inline-start: auto; max-width: 380px; }
.res-totals div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.res-totals dt { color: var(--ink-2); } .res-totals dd { margin: 0; font-weight: 600; }
.res-totals .disc dd { color: #1f7a4d; }
.res-totals .grand { border: 0; background: var(--olive); color: #fff; border-radius: 14px; padding: 14px 16px; margin-top: 10px; font-size: 18px; }
.res-totals .grand dt { color: #fff; } .res-totals .grand dd { color: #fff; font-weight: 700; }
.disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #8a5a00; background: #fffaf0; border: 1px solid #f3e3c0; border-radius: 12px; padding: 12px 14px; margin: 18px 0; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.save-card, .saved-card { margin-top: 24px; border-radius: 12px; padding: 26px; background: var(--ivory); border: 1px solid var(--line); }
.save-card h3, .saved-card h3 { font-size: 19px; margin-bottom: 4px; }
.save-card .check { margin: 6px 0 14px; }
.form-errors { color: #a5371f; font-size: 14px; margin-bottom: 12px; }
.saved-card { background: #f1f7f2; border-color: #cfe5d6; text-align: center; }
.saved-card .ok-ic { width: 56px; height: 56px; border-radius: 50%; background: #1f7a4d; color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.saved-card .result-actions { justify-content: center; margin-top: 16px; }
.loading-line { padding: 40px; text-align: center; color: var(--muted); }
.calc-aside { position: sticky; top: 100px; }
.aside-card { background: #fff; border-radius: 12px; border: 1px solid var(--line-2); padding: 22px; }
.aside-card h3 { font-size: 16px; margin-bottom: 12px; }
.aside-prop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.aside-prop div { background: var(--ivory); border-radius: 12px; padding: 8px 10px; display: flex; justify-content: space-between; gap: 6px; font-size: 13px; }
.aside-prop div:first-child, .aside-prop div:last-child { grid-column: span 2; }
.aside-prop dt { color: var(--muted); } .aside-prop dd { margin: 0; font-weight: 600; }
.aside-items li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.aside-items li small { font-size: 12px; }
.aside-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; background: var(--olive); color: #fff; border-radius: 14px; padding: 14px 16px; }
.aside-total strong { color: #fff; font-size: 18px; }
@media (max-width: 1080px) { .calc-grid { grid-template-columns: 1fr; } .calc-aside { position: static; order: -1; } .calc-aside .aside-items, .calc-aside p { display: none; } }
@media (max-width: 720px) {
  .calc-main { padding: 20px; border-radius: 12px; }
  .calc-steps { grid-template-columns: repeat(5, 1fr); padding: 6px; }
  .calc-steps li { justify-content: center; padding: 8px 4px; }
  .calc-steps .lbl { display: none; }
  .type-picker { grid-template-columns: repeat(3, 1fr); }
  .calc-fields { grid-template-columns: 1fr 1fr; }
  .qty-row { grid-template-columns: 1fr; gap: 8px; }
  .calc-nav .calc-step-label { display: none; }
}

/* ---------- Public quotation page ---------- */
.qdoc { background: #fff; border-radius: 12px; border: 1px solid var(--line-2); padding: 36px; }
.qdoc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line-2); padding-bottom: 22px; margin-bottom: 22px; }
.qdoc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 22px; }
.qdoc-meta div { background: var(--ivory); border-radius: 14px; padding: 12px 14px; }
.qdoc-meta span { display: block; color: var(--muted); font-size: 12.5px; }
@media (max-width: 720px) { .qdoc { padding: 20px; } }
@media (max-width: 1080px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .site-nav:not(.open) { visibility: hidden; }
}
@media (max-width: 720px) {
  .res-table { min-width: 0; }
  .res-table thead { display: none; }
  .res-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--line-2); }
  .res-table td { border: 0; padding: 0; }
  .res-table td:first-child { grid-column: span 2; margin-bottom: 4px; }
  .res-table td[data-l]::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--muted); }
}

/* ===================== Tree calculator ===================== */
.calc-hero2 { padding: 40px 0 28px; }
.calc-hero2 h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; margin: 16px 0 10px; letter-spacing: -.02em; }
html[lang="ar"] .calc-hero2 h1 { letter-spacing: 0; }
.calc-hero2 .lead { color: var(--muted); max-width: 640px; }
.calc-hero2 .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sage-2); color: var(--olive); font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; margin: 0; }
.tcalc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.tc-editor { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tc-card { background: #fff; border-radius: 26px; padding: 24px; box-shadow: 0 20px 40px -34px rgba(20,32,24,.35); }
.tc-title { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 16px; }
.tc-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--sage-2); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; }
.tc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tc-wide { grid-column: 1 / -1; }
.tc-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.tc-field .opt { color: var(--muted); font-weight: 400; font-size: 12px; }
.tc-field .req { color: var(--danger); }
.tc-box { display: flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; min-height: 50px; padding-inline: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.tc-box:focus-within { background: #fff; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(74,82,48,.1); }
.tc-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; padding: 10px 0; }
.tc-box input[type=number] { font-family: var(--font-en); font-weight: 600; -moz-appearance: textfield; }
.tc-box input::-webkit-inner-spin-button, .tc-box input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tc-unit { color: var(--muted); font-size: 13px; }
.tc-stepper { padding-inline: 6px; }
.tc-stepper input { text-align: center; }
.tc-step { width: 38px; height: 38px; border-radius: 12px; border: 0; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); font-size: 20px; cursor: pointer; color: var(--olive); }
.tc-step:hover { background: var(--olive); color: #fff; }
.tc-err { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
.tc-items-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.tc-items-head .tc-title { margin: 0; }
.tc-search { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; min-height: 44px; color: var(--muted); min-width: 240px; }
.tc-search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 14px; color: var(--ink); }
.tc-search:focus-within { border-color: var(--olive); background: #fff; }
.tc-items { display: flex; flex-direction: column; gap: 10px; }
.tc-sec { border: 1px solid var(--line-2); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.tc-sec.open { border-color: var(--sage); box-shadow: 0 16px 36px -28px rgba(20,32,24,.4); }
.tc-sec-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: transparent; cursor: pointer; text-align: start; border-radius: 20px; }
.tc-sec-head:hover { background: var(--surface-2); }
.tc-sec-ic { width: 42px; height: 42px; border-radius: 14px; background: var(--surface-2); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, color .2s; }
.tc-sec.has .tc-sec-ic, .tc-sec.open .tc-sec-ic { background: var(--olive); color: #fff; }
.tc-sec-name { flex: 1; min-width: 0; }
.tc-sec-name b { display: block; font-size: 15.5px; }
.tc-sec-name small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-sec-amt { font-weight: 700; color: var(--olive); font-size: 14px; white-space: nowrap; }
.tc-chev { color: var(--muted); transition: transform .25s var(--ease); display: inline-flex; }
.tc-sec.open .tc-chev { transform: rotate(180deg); }
.tc-sec-body { padding: 4px 16px 18px; animation: calcIn .3s var(--ease); }
.tc-hint { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.tc-group { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin: 16px 0 8px; font-weight: 600; }
.tc-group-tag { font-size: 11.5px; font-weight: 600; color: var(--olive); background: var(--sage-2); padding: 2px 10px; border-radius: 999px; }
.tc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tc-opt { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.tc-opt:hover { border-color: var(--sage); }
.tc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tc-opt-mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: transparent; margin-top: 1px; transition: all .2s; }
.tc-opt input[type=checkbox] ~ .tc-opt-mark { border-radius: 7px; }
.tc-opt-mark .ic { width: 14px; height: 14px; }
.tc-opt-body { flex: 1; min-width: 0; }
.tc-opt-body b { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.tc-opt-body small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tc-opt:has(input:checked) { border-color: var(--olive); background: #F3F7F1; box-shadow: 0 0 0 1px var(--olive) inset; }
.tc-opt input:checked ~ .tc-opt-mark { background: var(--olive); border-color: var(--olive); color: #fff; }
.tc-opt input:checked ~ .tc-opt-body small { color: var(--olive); }
.tc-opt input:focus-visible ~ .tc-opt-mark { outline: 2px solid var(--olive); outline-offset: 2px; }
.tc-est { position: absolute; top: -8px; inset-inline-end: 10px; font-size: 10.5px; font-weight: 700; background: var(--warning-bg); color: var(--warning); padding: 1px 8px; border-radius: 999px; }
.tc-desc { display: flex; gap: 8px; align-items: flex-start; background: var(--surface-2); border-radius: 14px; padding: 10px 12px; color: var(--ink-2); font-size: 13px; margin: 12px 0 0; }
.tc-desc .ic { width: 16px; height: 16px; color: var(--olive); margin-top: 3px; }
.tc-pickers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tc-picker > span:first-child { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.tc-select { position: relative; display: block; }
.tc-select select { width: 100%; appearance: none; border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; min-height: 48px; padding: 8px 14px; padding-inline-end: 38px; font-size: 13.5px; cursor: pointer; }
.tc-select select:focus { outline: 0; border-color: var(--olive); background: #fff; }
.tc-select .ic { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.tc-nomatch { text-align: center; padding: 24px; color: var(--muted); }
.tc-nomatch .link-arrow { background: none; border: 0; cursor: pointer; }
/* Summary */
.tc-summary { position: sticky; top: 96px; }
.tc-sum-card { background: var(--olive); color: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tc-sum-card::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,213,191,.28), transparent); top: -110px; inset-inline-end: -90px; pointer-events: none; }
.tc-sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tc-sum-head h2 { font-size: 17px; margin: 0; }
.tc-chip { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(200,213,191,.22); color: var(--sage); }
.tc-total-label { color: rgba(255,255,255,.7); font-size: 13px; margin: 18px 0 2px; }
.tc-total { margin: 0 0 12px; font-size: 15px; color: var(--sage); }
.tc-total b { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.15; }
.tc-lock { display: none; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.3); border-radius: 14px; padding: 10px 12px; font-size: 13px; color: #e6ede2; margin-bottom: 12px; }
.is-locked .tc-lock { display: flex; }
.is-locked .tc-total b { filter: blur(9px); user-select: none; }
.tc-qty { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 14px; }
.tc-qty div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 8px 12px; }
.tc-qty dt { font-size: 11.5px; color: rgba(255,255,255,.65); }
.tc-qty dd { margin: 0; font-weight: 700; font-size: 14px; }
.tc-lines { max-height: 300px; overflow: auto; margin: 0 0 12px; border-top: 1px solid rgba(255,255,255,.14); }
.tc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.tc-l-name { min-width: 0; }
.tc-l-name b { display: block; font-weight: 600; }
.tc-l-name small { display: block; color: rgba(255,255,255,.6); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.tc-lines li > .num { font-weight: 700; white-space: nowrap; }
.tc-vat div { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: rgba(255,255,255,.8); }
.tc-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: rgba(255,255,255,.82); margin: 12px 0; cursor: pointer; }
.tc-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sage); flex-shrink: 0; }
.tc-sum-card .tc-err { color: #ffd2c8; }
.tc-btns { display: grid; gap: 8px; }
.tc-sum-card .btn-primary { background: #fff; color: var(--olive); border-color: #fff; box-shadow: none; }
.tc-sum-card .btn-primary:hover { background: var(--sage); border-color: var(--sage); }
.tc-sum-card .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.tc-sum-card .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.tc-sent { background: rgba(200,213,191,.18); border-radius: 12px; padding: 10px 12px; font-size: 13px; margin: 10px 0 0; }
.tc-sent a { text-decoration: underline; font-weight: 700; }
.tc-note { display: flex; gap: 8px; font-size: 12px; color: rgba(255,255,255,.62); margin: 14px 0 0; }
.tc-note .ic-sm { flex-shrink: 0; margin-top: 3px; }

@media (max-width: 1080px) {
  .tcalc { grid-template-columns: 1fr; }
  .tc-summary { position: static; }
}
@media (max-width: 720px) {
  .tc-fields { grid-template-columns: 1fr; }
  .tc-card { padding: 18px; border-radius: 22px; }
  .tc-search { min-width: 0; width: 100%; }
  .tc-opts { grid-template-columns: 1fr; }
  .tc-total b { font-size: 34px; }
}
.tc-field { min-width: 0; }
.tc-box input { width: 100%; }
@media (max-width: 720px) { .tc-fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- v1.4.1: calculator in the cream / olive / wood catalogue style ---------- */
.calc-hero2 { padding: 52px 0 30px; }
.calc-hero2 .eyebrow { background: none; padding: 0; color: var(--ink); font-weight: 500; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .calc-hero2 .eyebrow { letter-spacing: .02em; font-size: 13.5px; }
.calc-hero2 h1 { font-weight: 600; }
@media (min-width: 1081px) { .tcalc { grid-template-columns: minmax(0, 1fr) 370px; } }
.tc-card { border-radius: 12px; border: 1px solid var(--line-2); box-shadow: none; padding: 26px; }
.tc-title { font-weight: 600; }
.tc-ic { border-radius: 50%; background: var(--olive-soft); }
.tc-box { border-radius: 10px; background: #fff; }
.tc-step { border-radius: 50%; width: 34px; height: 34px; background: var(--cream-2); box-shadow: none; }
.tc-search { background: #fff; }
.tc-sec { border-radius: 12px; border-color: var(--line-2); }
.tc-sec.open { border-color: var(--sand); box-shadow: var(--shadow); }
.tc-sec-head { border-radius: 12px; }
.tc-sec-ic { border-radius: 50%; background: var(--cream-2); }
.tc-sec.has .tc-sec-ic, .tc-sec.open .tc-sec-ic { background: var(--olive); }
.tc-sec-amt { color: var(--ink); }
.tc-opt { border-radius: 10px; }
.tc-opt:hover { border-color: var(--sand); }
.tc-opt:has(input:checked) { background: var(--ivory); border-color: var(--olive); }
.tc-group-tag { background: var(--olive-soft); }
.tc-desc { border-radius: 10px; background: var(--ivory); }
.tc-select select { border-radius: 10px; background: #fff; }
.tc-sum-card { border-radius: 14px; background: var(--olive); }
.tc-sum-card::before { display: none; }
.tc-chip { background: rgba(255,255,255,.14); color: #eceadb; }
.tc-total { color: #dcdcc9; }
.tc-qty div { border-radius: 10px; }
.tc-sum-card .btn-primary { color: var(--olive); }
.tc-sum-card .btn-primary:hover { background: var(--cream-2); border-color: var(--cream-2); }
.tc-sent { background: rgba(255,255,255,.12); }
.tc-consent input { accent-color: var(--wood); }
@media (max-width: 720px) { .tc-card { border-radius: 12px; padding: 18px; } }
/* warm the photography so it sits with the wood / cream palette */
.promo > img, .hero-card > img { filter: sepia(.18) saturate(1.05); }
@media (min-width: 721px) {
.promo::after { background: linear-gradient(270deg, rgba(120,86,52,.94) 0%, rgba(150,112,72,.78) 42%, rgba(150,112,72,.08) 100%); }
[dir="ltr"] .promo::after { background: linear-gradient(90deg, rgba(120,86,52,.94) 0%, rgba(150,112,72,.78) 42%, rgba(150,112,72,.08) 100%); }
.promo.dark-wood::after { background: linear-gradient(270deg, rgba(70,48,26,.92) 0%, rgba(92,64,36,.74) 50%, rgba(92,64,36,.25) 100%); }
}
.promo.soft::after { background: linear-gradient(0deg, rgba(238,234,225,.96) 0%, rgba(238,234,225,.55) 40%, rgba(238,234,225,0) 70%); }
.tc-hint-sm { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 12px; margin: 6px 0 0; line-height: 1.6; } .tc-hint-sm .ic-sm { width: 13px; height: 13px; margin-top: 3px; flex-shrink: 0; }

/* v1.5 service page */
.sv-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; }
.sv-mosaic a { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--cream-2); }
.sv-mosaic a[hidden] { display: none; }
.sv-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sv-mosaic a:hover img { transform: scale(1.04); }
.sv-mosaic .sv-m0 { grid-row: span 2; }
.sv-n1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.sv-n2 { grid-template-columns: 2fr 1fr; }
.sv-n2 .sv-m1 { grid-row: span 2; }
.sv-n3 { grid-template-columns: 2fr 1fr; }
.sv-n4 { grid-template-columns: 2fr 1fr 1fr; }
.sv-n4 .sv-m3 { grid-column: span 2; }
.sv-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(43,46,34,.55); color: #fff; font-size: 26px; font-weight: 600; }
.sv-h { font-size: 24px; margin: 40px 0 16px; }
.sv-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.sv-features li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.7; }
.sv-check { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.sv-steps { list-style: none; padding: 0; margin: 0; counter-reset: svs; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sv-steps li { counter-increment: svs; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 18px 18px 18px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.sv-steps li::before { content: "0" counter(svs); font-family: var(--font-en); font-weight: 600; color: var(--wood); font-size: 22px; }
.sv-steps span { color: var(--muted, #6b6b5e); font-size: 14.5px; line-height: 1.7; }
.sv-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--olive-soft); color: var(--olive); display: inline-flex; align-items: center; justify-content: center; }
.sv-perks { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; font-size: 14.5px; }
.sv-perks li { display: flex; gap: 8px; align-items: center; color: var(--charcoal); }
.sv-perks .ic-sm { color: var(--olive); }
@media (max-width: 720px) {
  .sv-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 130px; }
  .sv-mosaic .sv-m0 { grid-column: span 2; grid-row: auto; }
  .sv-mosaic .sv-m3, .sv-mosaic .sv-m4 { display: none; }
  .sv-n1 { grid-template-rows: 260px; }
  .sv-n2 .sv-m1 { grid-row: auto; grid-column: span 2; }
  .sv-features, .sv-steps { grid-template-columns: 1fr; }
}
.tc-sec.tc-flash { animation: tcFlash 1.8s ease-out 1; }
@keyframes tcFlash { 0%, 30% { box-shadow: 0 0 0 3px var(--wood); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* v1.6.1 section photos + sanitary-ware browser */
.tc-sec-ic.has-img { position: relative; width: 64px; height: 48px; border-radius: 10px; overflow: visible; background: var(--cream-2); padding: 0; }
.tc-sec-ic.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.tc-sec-ic.has-img i { position: absolute; inset-inline-end: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--olive); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.tc-sec-ic.has-img i .ic { width: 13px; height: 13px; }
.tc-draw { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--olive); flex: 0 0 auto; }
.tc-draw.sm { width: 26px; height: 26px; }
.tc-pickers { display: grid; gap: 12px; }
.tc-pk { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.tc-pk.open { border-color: var(--olive); }
.tc-pk-head { display: flex; align-items: center; gap: 14px; padding: 12px; }
.tc-pk-img { width: 92px; height: 64px; border-radius: 10px; object-fit: cover; flex: 0 0 92px; background: var(--olive-soft); display: inline-flex; align-items: center; justify-content: center; }
.tc-pk-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tc-pk-info > b { font-size: 15px; }
.tc-pk-info small { color: var(--muted); }
.tc-pk-cur { display: flex; align-items: center; gap: 8px; font-size: 13.5px; min-width: 0; }
.tc-pk-cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tc-pk-cur em { font-style: normal; font-weight: 600; color: var(--olive); white-space: nowrap; margin-inline-start: auto; }
.tc-pk-act { display: flex; gap: 6px; flex: 0 0 auto; }
.tc-btn { border: 1px solid var(--olive); background: var(--olive); color: #fff; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.tc-btn.ghost { background: transparent; color: var(--olive); border-color: var(--line); }
.tc-pkb { border-top: 1px solid var(--line); background: var(--ivory); padding: 14px 12px; }
.tc-pkb-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.tc-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-bottom: 14px; }
.tc-type { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font: inherit; font-size: 12.5px; text-align: center; line-height: 1.35; }
.tc-type small { color: var(--muted); font-size: 11px; }
.tc-type.on { border-color: var(--olive); background: var(--olive-soft); box-shadow: inset 0 0 0 1px var(--olive); }
.tc-pk-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 10px; }
.tc-pk-search { border: 1px solid var(--line); border-radius: 10px; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 13.5px; background: #fff; width: 100%; }
.tc-pk-search:focus { outline: 0; border-color: var(--olive); }
.tc-pk-tools .tc-select select { min-height: 44px; }
.tc-pkb-count { color: var(--muted); white-space: nowrap; }
.tc-pkl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 460px; overflow: auto; padding: 2px; }
.tc-pki { display: flex; align-items: center; gap: 10px; text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; min-width: 0; }
.tc-pki:hover { border-color: var(--olive); }
.tc-pki.on { border-color: var(--olive); background: var(--olive-soft); box-shadow: inset 0 0 0 1px var(--olive); }
.tc-pki-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tc-pki-t b { font-size: 13px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tc-pki-t small { color: var(--muted); font-size: 12px; }
.tc-pki-p { font-weight: 700; color: var(--olive); white-space: nowrap; font-size: 13px; }
.tc-more { margin-top: 10px; width: 100%; }
.tcalc.total-hidden .tc-total b { font-size: 20px; line-height: 1.5; }
.tcalc.total-hidden .tc-total span { display: none; }
@media (max-width: 720px) {
  .tc-pk-head { flex-wrap: wrap; }
  .tc-pk-img { width: 72px; height: 52px; flex-basis: 72px; }
  .tc-pk-act { width: 100%; }
  .tc-pk-act .tc-btn { flex: 1; }
  .tc-pk-tools { grid-template-columns: 1fr 1fr; }
  .tc-pk-search { grid-column: span 2; }
  .tc-pkl { grid-template-columns: 1fr; }
  .tc-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tcalc .tc-pickers { grid-template-columns: minmax(0, 1fr); }

/* v1.6.4: keep the footer social icons clear of the floating WhatsApp button */
.footer-bottom { padding-inline-end: 210px; }
@media (max-width: 760px) { .footer-bottom { padding-inline-end: 76px; } }

/* v1.6.5: the first section fills the screen down to the fold; the photo stays clear, text keeps its normal size */
:root { --hdr: 64px; }
@media (min-width: 721px) { :root { --hdr: 74px; } }

/* uploaded logo: a little larger, still fits the header */
.site-brand img.brand-logo { height: var(--logo-h, 38px); width: auto; max-width: min(300px, 46vw); object-fit: contain; }
.site-header .site-brand img.brand-logo { height: 52px; }
@media (max-width: 720px) { .site-header .site-brand img.brand-logo { height: 44px; max-width: 52vw; } }
.site-footer .site-brand img.brand-logo, .site-brand.light img.brand-logo { height: 64px; max-width: min(300px, 80vw); }

/* full-screen hero */
.hero-card { min-height: max(560px, calc(100svh - var(--hdr))); }
.hero-card > img { object-position: center; }
/* lighter wash: only behind the text, the rest of the photo shows clearly */
.hero-card::after { background: linear-gradient(270deg, rgba(245,242,235,.94) 0%, rgba(245,242,235,.78) 24%, rgba(245,242,235,.25) 42%, rgba(245,242,235,0) 54%); }
[dir="ltr"] .hero-card::after { background: linear-gradient(90deg, rgba(245,242,235,.94) 0%, rgba(245,242,235,.78) 24%, rgba(245,242,235,.25) 42%, rgba(245,242,235,0) 54%); }
@media (max-width: 720px) {
  .hero-card { min-height: calc(100svh - var(--hdr)); align-items: flex-end; }
  .hero-card::after, [dir="ltr"] .hero-card::after { background: linear-gradient(0deg, rgba(245,242,235,.96) 0%, rgba(245,242,235,.9) 55%, rgba(245,242,235,.15) 80%, rgba(245,242,235,0) 100%); }
}
