/* Shoumar Group — site styles. Brand: charcoal + lime green. */
:root {
  --ink: #1C211B;
  --ink-2: #3D4339;
  --muted: #5B6159;
  --bg: #F7F6F1;
  --surface: #FFFFFF;
  --line: #E4E4DC;
  --lime: #9BC23C;
  --lime-hover: #AED24F;
  --lime-tint: #EEF4DC;
  --green-text: #3F5E0F;
  --dark: #1C211B;
  --dark-2: #2E352C;
  --on-dark: #C9CCC4;
  --c-construction: #9BC23C;
  --c-realestate: #7EA6C9;
  --c-realestate-text: #2F5E86;
  --c-realestate-tint: #E6EEF5;
  --c-materials: #E2B65B;
  --c-materials-text: #7A5A12;
  --c-materials-tint: #F4EAD2;
  --radius: 16px;
  --font-head: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body, body[dir="rtl"] { font-family: 'IBM Plex Sans Arabic', var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--green-text); }
a:hover { color: #2B4208; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.01em; line-height: 1.1; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: 'IBM Plex Sans Arabic', var(--font-head); letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; transform: translateY(-200%); }
.skip:focus { transform: none; }
[dir="rtl"] .skip { left: auto; right: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-hover); color: var(--ink); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-sand { background: var(--c-materials); color: var(--ink); }
.btn-sand:hover { background: #EAC370; color: var(--ink); }
.btn-added { background: var(--lime-tint); color: var(--green-text); border: 1.5px solid var(--lime); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.icon { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: .05em; }
.logo-name span { color: var(--lime); }
.logo-sub { font-size: 10px; color: var(--on-dark); letter-spacing: .22em; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: #E8EAE4; text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-link { color: #E8EAE4; text-decoration: none; font-size: 15px; font-family: 'IBM Plex Sans Arabic', var(--font-body); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.main-nav a, .header-actions .btn, .logo-sub { white-space: nowrap; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-top: 1px solid #343B32; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid #2C332B; font-size: 17px; }
  .site-header.open .main-nav { display: flex; }
}
@media (max-width: 760px) {
  .header-actions .btn { display: none; }
  .logo-sub { display: none; }
}

/* Sections */
.section { padding-top: 80px; }
.section-last { padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.stack { display: flex; flex-direction: column; gap: 10px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-sm { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Hero (home) */
.hero { background: var(--dark); color: #fff; padding: 56px 0 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.search { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 760px; }
.search input { flex: 1; min-width: 0; height: 52px; border: 0; border-radius: 999px; padding: 0 20px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.search input:focus { outline: none; }
.paths { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.path { text-decoration: none; color: var(--ink); background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border-top: 8px solid var(--accent, var(--lime)); transition: transform .15s ease; }
.path:hover { transform: translateY(-3px); color: var(--ink); }
.path .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.path strong { font-family: var(--font-head); font-size: 21px; }
.path .tags { font-size: 13px; font-weight: 600; color: var(--accent-text, var(--green-text)); }

/* Photos / placeholders */
.photo { position: relative; overflow: hidden; background: #D8DDCB; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph-label { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #2F352D; background: rgba(255,255,255,.88); padding: 3px 8px; border-radius: 6px; }
[dir="rtl"] .photo .ph-label { left: auto; right: 12px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 19px; }
.card a.title { color: var(--ink); text-decoration: none; }
.card a.title:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--green-text); }
.photo .tag { position: absolute; left: 12px; top: 12px; }
[dir="rtl"] .photo .tag { left: auto; right: 12px; }
.price-block { border-top: 1px solid #ECECE5; padding-top: 12px; margin-top: auto; }
.price-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price { font-family: var(--font-head); font-weight: 800; font-size: 24px; }
.card-actions { display: flex; gap: 10px; margin-top: 8px; }
.card-actions .btn-dark { flex: 1; }
.sold-badge { background: var(--ink); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.stat-n { font-family: var(--font-head); font-weight: 800; font-size: 36px; }

/* Company hero band */
.band { background: #fff; border-top: 8px solid var(--accent, var(--lime)); }
.band .inner { padding: 40px 24px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.band h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; }
.breadcrumb { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.breadcrumb a { color: inherit; }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5D7CE; background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { height: 46px; border: 1px solid #D5D7CE; border-radius: 10px; padding: 0 12px; font: inherit; font-weight: 400; font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { height: auto; min-height: 110px; padding: 12px; resize: vertical; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.tint { background: var(--lime-tint); border-radius: 24px; padding: 40px; }
.dark-cta { background: var(--dark); color: #fff; border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.dark-cta h2 { font-size: clamp(26px, 3.5vw, 34px); }
.dark-cta p { color: var(--on-dark); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.steps li { background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps .n { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: #6E9420; }

/* Siblings */
.siblings { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sib { text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.sib:hover { border-color: var(--ink); color: var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 99px; background: var(--accent); flex: none; }

/* Catalogue */
.catalogue { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cat-side { flex: 1 1 220px; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.cat-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; text-align: start; }
.cat-btn:hover { background: var(--c-materials-tint); }
.cat-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cat-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.quote-bar { position: sticky; bottom: 16px; z-index: 40; background: var(--dark); color: #fff; border-radius: 18px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.quote-bar[hidden] { display: none; }
@media (max-width: 760px) {
  .cat-side { position: static; max-width: none; flex-direction: row; overflow-x: auto; padding: 8px; }
  .cat-btn { width: auto; white-space: nowrap; gap: 8px; }
}

/* Detail pages */
.detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.detail-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.gallery { display: grid; gap: 12px; grid-template-columns: 2fr 1fr; }
.gallery .main { height: 460px; border-radius: 18px; grid-row: span 2; }
.gallery .small { height: 224px; border-radius: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .main { height: 280px; } .gallery .small { display: none; } .detail-side { position: static; } }
.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.fact span { font-size: 13px; color: var(--muted); }
.fact strong { font-size: 19px; font-family: var(--font-head); }
.spec-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid #ECECE5; }
.spec-table td:first-child { color: var(--muted); width: 42%; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 2px solid var(--ink); }
.timeline li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.timeline li::before { content: ''; width: 14px; height: 14px; border-radius: 99px; background: var(--lime); margin-top: -28px; }
.timeline strong { font-family: var(--font-head); font-size: 22px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding: 56px 0 48px; margin-top: 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid strong { color: #fff; }
.footer-bottom { border-top: 1px solid #343B32; margin-top: 40px; padding-top: 20px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Mobile WhatsApp bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(28,33,27,.08); }
  .mobile-bar .btn { flex: 1; }
  body { padding-bottom: 72px; }
  .quote-bar { bottom: 80px; }
  .section { padding-top: 56px; }
  .tint, .panel, .dark-cta { padding: 24px; }
}

/* CEO page (premium dark) */
.ceo { background: #0F120F; color: #F2F1EC; }
.ceo a:not(.btn) { color: #B8D96A; }
.ceo .kicker { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--lime); }
.ceo .kicker-dark { color: #4E6E14; }
.ceo-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: #262B25; }
.ceo-hero .photo { position: absolute; inset: 0; background: #262B25; }
.ceo-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,18,15,.2), rgba(15,18,15,.75)); }
.ceo-hero .content { position: relative; width: 100%; padding-bottom: 72px; display: flex; flex-direction: column; gap: 16px; }
.ceo-hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; line-height: .95; letter-spacing: -0.035em; }
.ceo-light { background: #F2F1EC; color: #141713; }
.ceo-light a:not(.btn) { color: #3F5E0F; }
.ceo-section { padding: 96px 0; }
.ceo-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ceo-split > .photo { flex: 1 1 380px; height: 560px; border-radius: 22px; }
.ceo-split > .text { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 22px; }
.ceo h2 { font-size: clamp(32px, 4.5vw, 50px); font-weight: 600; letter-spacing: -0.02em; }
.ceo-stats { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ceo-stats div { border-top: 1px solid #3A4237; padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.ceo-stats .n { font-family: var(--font-head); font-size: clamp(44px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; }
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.carousel > a { flex: 0 0 min(360px, 82vw); height: 440px; border-radius: 18px; scroll-snap-align: start; text-decoration: none; }
.carousel .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(180deg, transparent, rgba(15,18,15,.85)); display: flex; flex-direction: column; gap: 6px; color: #fff; }
.carousel .cap strong { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.arrow { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(242,241,236,.4); background: transparent; color: #F2F1EC; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.btn-light { background: #F2F1EC; color: #0F120F; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.btn-light:hover { background: #fff; color: #0F120F; }
.btn-line { background: transparent; color: #F2F1EC; border: 1px solid rgba(242,241,236,.45); letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.btn-line:hover { color: #fff; border-color: #fff; }
.lang-chip { border: 1px solid #141713; border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Listing ads from the old site contain text: show them whole, never cropped */
.photo img[src*="/ad-"] { object-fit: contain; background: #fff; }
.photo-link { display: block; border-radius: 14px; }
.photo-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* Client logos: one slow moving strip of transparent logos, each fitted into the same box */
.logo-strip { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: logos 90s linear infinite; }
.logo-strip:hover .logo-track, .logo-strip:focus-within .logo-track { animation-play-state: paused; }
.logo-track img { flex: none; width: 170px; height: 84px; object-fit: contain; transition: transform .2s; }
.logo-track img:hover { transform: scale(1.08); }
@keyframes logos { to { transform: translateX(calc(-50% - 32px)); } }
@media (max-width: 600px) { .logo-track { gap: 36px; animation-duration: 60s; } .logo-track img { width: 120px; height: 60px; } @keyframes logos { to { transform: translateX(calc(-50% - 18px)); } } }
@media (prefers-reduced-motion: reduce) { .logo-strip { overflow-x: auto; } .logo-track { animation: none; } }

/* Sandbox (preview) banner */
.preview-banner { position: relative; z-index: 60; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; padding: 8px 16px; background: #F2B705; color: #1C211B; font-size: 14px; text-align: center; }
.preview-banner strong { letter-spacing: .12em; }
.preview-banner a { color: #1C211B; font-weight: 600; }
.photo.contain img { object-fit: contain; }
.photo.top img { object-position: center top; }

/* Quantity picker + Add to basket */
.buy { display: flex; flex-direction: column; gap: 8px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; min-height: 40px; }
.qty button { flex: none; width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.qty button:hover { background: #F0EFEA; }
.qty input { flex: 1 1 auto; min-width: 0; width: 100%; border: 0; text-align: right; font: inherit; font-weight: 600; font-size: 15px; padding: 0 4px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .unit { flex: none; padding: 0 6px 0 2px; color: var(--ink-2); font-size: 14px; }
.box-hint { font-size: 12px; min-height: 0; }
.box-hint:empty { display: none; }
.buy-big .qty { min-height: 52px; }
.buy-big .qty button { width: 52px; height: 52px; }
.buy-big .qty input { font-size: 18px; }

/* Basket window */
dialog.basket { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 20px; padding: 22px; display: none; flex-direction: column; gap: 16px; color: var(--ink); }
dialog.basket[open] { display: flex; }
dialog.basket::backdrop { background: rgba(20, 23, 19, .55); }
.basket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.basket-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.basket-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-qty { display: flex; align-items: center; gap: 6px; }
.basket-qty input { width: 86px; min-height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 8px; font: inherit; font-weight: 600; text-align: right; }
.link-btn { border: 0; background: none; padding: 6px; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.basket-total { margin: 0; font-weight: 600; }
.basket-total:empty { display: none; }
@media (max-width: 600px) {
  dialog.basket { padding: 18px; border-radius: 18px; }
  .basket-list li { grid-template-columns: 1fr auto; }
  .basket-list li .link-btn { grid-column: 1 / -1; justify-self: start; padding: 0; }
  .basket-form { grid-template-columns: 1fr !important; }
}
.basket-head .arrow { color: var(--ink); border-color: var(--line); background: #fff; font-size: 16px; }

/* Search results: same look as the other cards, with a photo and the section's colour */
.search-card { text-decoration: none; color: inherit; border-top: 5px solid var(--sc, var(--lime)); transition: box-shadow .2s, transform .2s; }
.search-card:hover { box-shadow: 0 10px 28px rgba(28,33,27,.12); transform: translateY(-2px); }
.search-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.search-card .photo { height: 190px; background: var(--sc-tint, #E9EAE3); }
.search-card .sc-title { font-size: 18px; font-family: var(--font-head); }
.search-card .sc-price { font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 4px; }
.search-card .sc-go { font-weight: 600; font-size: 14px; color: var(--sc-text, var(--green-text)); }
.sc-realestate { --sc: var(--c-realestate); --sc-tint: var(--c-realestate-tint, #D5DEE6); --sc-text: var(--c-realestate-text); }
.sc-materials { --sc: var(--c-materials); --sc-tint: var(--c-materials-tint); --sc-text: var(--c-materials-text); }
.sc-construction { --sc: var(--c-construction); }

/* Real Estate: who is selling */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; align-self: flex-start; margin-top: 6px; max-width: 100%; }
.segmented button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.segmented button span { font-size: 12px; font-weight: 600; background: #F0EFEA; color: var(--ink-2); border-radius: 999px; padding: 2px 8px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.segmented button[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 600px) { .segmented { display: grid; grid-template-columns: 1fr; border-radius: 18px; width: 100%; } .segmented button { justify-content: space-between; } }
.tag-shoumar { background: var(--lime-tint); color: var(--green-text); }
.tag-owner { background: #F3E9D6; color: #7A5A12; }
.list-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); }
.list-cta .stack { flex: 1 1 420px; }
.list-cta h2 { font-size: clamp(24px, 3vw, 30px); }

/* List your property */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.listing-side { position: sticky; top: 96px; }
.listing-form { display: flex; flex-direction: column; gap: 28px; }
.listing-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.listing-form legend { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 21px; font-weight: 700; padding: 0; margin-bottom: 4px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--c-realestate-tint); color: var(--c-realestate-text); display: inline-grid; place-items: center; font-size: 14px; flex: none; }
.fs-note { font-size: 14px; margin: -6px 0 0; }
.listing-form .field input:invalid[data-touched], .listing-form .field select:invalid[data-touched], .listing-form .field textarea:invalid[data-touched] { border-color: #C2410C; }
.photo-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; min-height: 150px; border: 2px dashed #CBCDC3; border-radius: 18px; background: #FAFAF7; cursor: pointer; padding: 20px; transition: border-color .2s, background .2s; }
.photo-drop:hover, .photo-drop.drag { border-color: var(--c-realestate); background: #F3F7FA; }
.photo-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-drop:focus-within { outline: 3px solid var(--lime); outline-offset: 2px; }
.photo-drop-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.photo-previews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.photo-previews:empty { display: none; }
.photo-previews li { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #EEE; }
.photo-previews img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(20,23,19,.75); color: #fff; font-size: 16px; cursor: pointer; }
.photo-previews .cover { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 600; background: #fff; border-radius: 999px; padding: 2px 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FDECE7; color: #9A3412; font-size: 14px; }
.btn-lg { min-height: 56px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.mini-steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--lime-tint); color: var(--green-text); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.mini-steps .muted { font-size: 14px; }
.listing-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.listing-done[hidden] { display: none; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 28px; font-weight: 700; }
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-side { position: static; order: -1; }
}
@media (max-width: 600px) { .listing-form.panel, .listing-done.panel { padding: 20px; } }

/* Product photos: swipe on phones, arrows + dots everywhere */
.pslider { position: relative; overflow: hidden; height: 200px; }
.pslider-big { height: clamp(300px, 45vw, 520px); border-radius: 20px; }
.pslides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pslides::-webkit-scrollbar { display: none; }
.pslides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; -webkit-user-drag: none; }
.pslides:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.pnav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; display: grid; place-items: center; padding-bottom: 3px; }
.pnav.prev { left: 10px; } .pnav.next { right: 10px; }
.pslider:hover .pnav, .pnav:focus-visible { opacity: 1; }
.pnav[disabled] { opacity: 0 !important; pointer-events: none; }
.pslider-big .pnav { width: 46px; height: 46px; font-size: 30px; opacity: 1; }
.pdots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pdots button { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.12); cursor: pointer; transition: width .2s, background .2s; }
.pdots button[aria-current="true"] { width: 22px; background: #fff; }
.pslider-big .pdots { bottom: 16px; }
.pslider-big .pdots button { width: 10px; height: 10px; }
.pslider-big .pdots button[aria-current="true"] { width: 28px; }
@media (hover: none) { .pnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .pslides { scroll-behavior: auto; } }

/* Datasheet */
.datasheet-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--c-materials-text); text-decoration: none; align-self: flex-start; padding: 4px 0; }
.datasheet-link:hover { text-decoration: underline; }
.datasheet-btn { align-self: flex-start; gap: 8px; }

/* ── Building Materials: subcategory shortcuts ── */
.subtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.subtiles[hidden] { display: none; }
.subtile { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); text-align: start; transition: border-color .2s, box-shadow .2s, transform .2s; }
.subtile:hover { box-shadow: 0 8px 22px rgba(28,33,27,.10); transform: translateY(-2px); }
.subtile[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.subtile-img { display: grid; place-items: center; height: 92px; overflow: hidden; }
.subtile-img img { width: 100%; height: 100%; object-fit: cover; }
.subtile-letter { font-family: var(--font-head); font-size: 34px; font-weight: 700; color: rgba(28,33,27,.35); }
.subtile-name { padding: 10px 12px 0; font-weight: 600; font-size: 14px; line-height: 1.25; }
.subtile-n { padding: 2px 12px 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .subtiles { display: flex; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; } .subtiles::-webkit-scrollbar { display: none; } .subtile { flex: 0 0 128px; scroll-snap-align: start; } .subtile-img { height: 76px; } }

/* ── Filters + sort toolbar ── */
.cat-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 auto; align-items: flex-end; }
.cat-filters .facet { flex: 1 1 140px; max-width: 200px; }
.cat-filters .facet[hidden] { display: none; }
.cat-toolbar .field select { height: 42px; padding: 0 10px; }
.cat-toolbar .sort { flex: 0 0 190px; }
.cat-filters-head, .cat-filters-foot, .filters-open { display: none; }
.cat-status { display: flex; align-items: center; gap: 14px; }
.cat-status .link-btn[hidden] { display: none; }
@media (max-width: 900px) {
  .filters-open { display: inline-flex; flex: 1 1 auto; }
  .cat-toolbar { align-items: stretch; }
  .cat-toolbar .sort { flex: 1 1 auto; font-size: 0; }
  .cat-toolbar .sort select { font-size: 15px; height: 40px; }
  /* Filters become a panel that slides up from the bottom */
  .cat-filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 40px rgba(0,0,0,.2); flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 14px; max-height: 85vh; overflow-y: auto; transform: translateY(105%); transition: transform .28s ease; visibility: hidden; }
  .cat-filters.open { transform: none; visibility: visible; }
  .cat-filters .facet { max-width: none; flex: none; }
  .cat-filters-head, .cat-filters-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cat-filters-head strong { font-family: var(--font-head); font-size: 20px; }
  .cat-filters-foot .btn { flex: 1; }
  body.sheet-open::after { content: ''; position: fixed; inset: 0; background: rgba(20,23,19,.45); z-index: 80; }
}
@media (prefers-reduced-motion: reduce) { .cat-filters { transition: none; } }

/* ── Stock, badges ── */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #9CA3AF; flex: none; }
.stock.in { color: var(--green-text); } .stock.in .dot { background: #65A30D; }
.stock.order { color: #8A5A00; } .stock.order .dot { background: #D97706; }
.pwrap, .pslider { position: relative; }
.pbadge { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.12); pointer-events: none; }
.pbadge-new { background: var(--ink); color: #fff; }
.pbadge-offer { background: #C2410C; color: #fff; }

/* ── Product page: buying ── */
.buy-fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.qfield { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.buy-eq { padding-bottom: 14px; color: var(--muted); font-weight: 600; }
.buy-total { margin: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.buy-total:empty { display: none; }
@media (max-width: 420px) { .buy-fields { grid-template-columns: 1fr; } .buy-eq { display: none; } }
.size-chips .chip { text-decoration: none; }
.size-chips .chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.with-it { border-top: 1px solid var(--line); padding-top: 18px; }
.with-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(150px, 190px); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.with-img { display: block; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.with-img .pslider, .with-img .photo { height: 72px !important; }
.with-row .buy { gap: 6px; }
@media (max-width: 600px) { .with-row { grid-template-columns: 64px minmax(0, 1fr); } .with-row .buy { grid-column: 1 / -1; } .with-img, .with-img .pslider, .with-img .photo { width: 64px; height: 64px !important; } }
.spec-table th { text-align: start; font-weight: 400; color: var(--muted); width: 42%; padding: 12px 0; border-bottom: 1px solid #ECECE5; vertical-align: top; }
.spec-table th + td { padding: 12px 0 12px 12px; }

/* ── Fixed "Add to basket" bar on phones (product page) ── */
.sticky-buy { display: none; }
@media (max-width: 900px) {
  body.has-sticky-buy .mobile-bar { display: none; }
  .sticky-buy:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .sticky-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex: none; }
  body.has-sticky-buy .quote-bar { bottom: 84px; }
  body.has-sticky-buy { padding-bottom: 76px; }
}

/* Small tag on temporary stock photos */
.photo, .pslider { position: relative; }
.stock-tag { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: rgba(20,23,19,.62); color: #fff; pointer-events: none; backdrop-filter: blur(4px); }
[dir="rtl"] .stock-tag { right: auto; left: 10px; }
.pslider .stock-tag { bottom: auto; top: 12px; }

/* Maps */
.map-box { position: relative; overflow: hidden; background: #DCE3E6; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { font-size: 14px; font-weight: 600; align-self: flex-start; }

/* Sliding photo gallery (About → Exhibitions) */
.gslider { display: flex; flex-direction: column; gap: 16px; }
.gtrack { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 18px; }
.gtrack::-webkit-scrollbar { display: none; }
.gtrack:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.gslide { flex: 0 0 min(520px, 82%); margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; scroll-snap-align: start; background: #E9EAE3; }
.gslide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; transition: transform .6s ease; }
.gslide:hover img { transform: scale(1.03); }
.gctrl { display: flex; align-items: center; gap: 12px; }
.gdots { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.gdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #CFD1C8; cursor: pointer; transition: width .2s, background .2s; }
.gdots button[aria-current="true"] { width: 24px; background: var(--ink); }
.gplay { border: 1px solid var(--line); background: #fff; border-radius: 999px; min-height: 40px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); }
@media (max-width: 600px) { .gslide { flex-basis: 86%; } .gtrack { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .gslide img { transition: none; } .gslide:hover img { transform: none; } }
/* Round arrow buttons on light backgrounds */
.gctrl .arrow, .cat-filters-head .arrow { color: var(--ink); border-color: var(--line); background: #fff; }
.gctrl .arrow:hover, .cat-filters-head .arrow:hover { border-color: var(--ink); }
.gctrl .arrow svg { width: 20px; height: 20px; }

/* Basket bar floats at the bottom of the screen while there is something in the basket */
.quote-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; width: min(1100px, calc(100% - 32px)); z-index: 75; margin: 0; }
body.basket-open { padding-bottom: 120px; }
@media (max-width: 760px) {
  .quote-bar { bottom: 80px; padding: 12px 14px; gap: 10px; }
  .quote-bar [data-basket-summary] { display: none; }
  body.basket-open { padding-bottom: 170px; }
}
@media (max-width: 900px) { body.has-sticky-buy .quote-bar { bottom: 84px; } }
body.basket-open { padding-bottom: var(--basket-room, 120px) !important; }
@media (max-width: 760px) {
  .quote-bar { flex-direction: column; align-items: stretch; }
  .quote-bar .chips { flex-wrap: nowrap; gap: 8px; }
  .quote-bar .chips .btn { flex: 1 1 0; padding: 0 10px; white-space: nowrap; }
}

/* ═══ Five businesses: colours ═══ */
:root {
  --c-invest: #1E3A5F; --c-invest-text: #1E3A5F; --c-invest-tint: #E6ECF4; --c-invest-deep: #12233A;
  --c-invest-green: #1F4D3A; --c-gold: #D8A93B; --c-gold-soft: #F5E7C4;
  --c-savanna: #4E8A2F; --c-savanna-text: #2F5A1C; --c-savanna-tint: #EEF4E5; --c-savanna-deep: #1F3D14;
  --c-sun: #E9B824; --c-earth: #8A6A3F; --c-earth-tint: #F6F1E7;
}

/* ═══ "Our businesses" menu ═══ */
.nav-group { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; color: #E8EAE4; cursor: pointer; white-space: nowrap; }
.nav-drop:hover, .nav-drop[aria-expanded="true"], .nav-drop.is-active { color: var(--lime); }
.nav-drop .chev { transition: transform .2s; }
.nav-drop[aria-expanded="true"] .chev { transform: rotate(180deg); }
.biz-menu { position: absolute; top: calc(100% + 18px); left: -18px; z-index: 60; width: 360px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 18px 48px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 2px; }
[dir="rtl"] .biz-menu { left: auto; right: -18px; }
.biz-menu::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.main-nav .biz-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink); text-decoration: none; white-space: normal; }
.main-nav .biz-item:hover, .main-nav .biz-item:focus-visible { background: #F3F3EE; color: var(--ink); }
.main-nav .biz-item[aria-current="page"] { background: #F3F3EE; color: var(--ink); }
.biz-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--accent); margin-top: 5px; flex: none; }
.biz-text { display: flex; flex-direction: column; gap: 2px; }
.biz-text strong { font-size: 15px; font-weight: 600; }
.biz-text span { font-size: 13px; color: var(--muted); font-weight: 400; }
@media (max-width: 1120px) {
  .nav-group { border-bottom: 1px solid #2C332B; }
  .nav-drop { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; }
  .biz-menu { position: static; width: auto; background: transparent; box-shadow: none; padding: 0 0 10px; }
  .biz-menu::before { display: none; }
  .main-nav .biz-item { color: #E8EAE4; padding: 10px 4px; border-bottom: 0; font-size: 16px; }
  .main-nav .biz-item:hover, .main-nav .biz-item[aria-current="page"] { background: rgba(255,255,255,.06); color: #fff; }
  .biz-text span { color: #A9AEA6; }
}

/* ═══ Home: five paths (3 on top, 2 wider below) ═══ */
.paths-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.paths-5 > .path { grid-column: span 2; }
.paths-5 > .path:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 1000px) { .paths-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .paths-5 > .path, .paths-5 > .path:nth-child(n+4) { grid-column: span 1; } .paths-5 > .path:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .paths-5 { grid-template-columns: 1fr; } }
.sib-text { display: flex; flex-direction: column; gap: 2px; }
.sib-text .muted { font-size: 13px; font-weight: 400; }
.sib .dot { background: var(--accent); }
.sc-invest { --sc: var(--c-invest); --sc-tint: var(--c-invest-tint); --sc-text: var(--c-invest-text); }
.sc-savanna { --sc: var(--c-savanna); --sc-tint: var(--c-savanna-tint); --sc-text: var(--c-savanna-text); }

/* ═══ Business pages: shared building blocks ═══ */
.bimg { position: relative; overflow: hidden; border-radius: 20px; background: #E6E8E1; }
.bimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhero { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.bhero-img { position: absolute; inset: 0; border-radius: 0; }
.bhero-img img { object-position: center 62%; animation: bhero-zoom 18s ease-out both; }
@keyframes bhero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.bhero-shade { position: absolute; inset: 0; }
.bhero-content { position: relative; z-index: 2; padding-top: 48px; padding-bottom: clamp(48px, 9vh, 88px); display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.bhero-content .breadcrumb, .bhero-content .breadcrumb a { color: rgba(255,255,255,.8); }
.bhero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.bhero p { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.88); max-width: 720px; line-height: 1.55; }
.bhero-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bhero .stock-tag { top: auto; bottom: 14px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.bsplit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bsplit h2, .inquiry-layout h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.bsplit-img { height: clamp(300px, 42vw, 520px); }
.feature-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.feature-grid li { display: flex; gap: 10px; align-items: flex-start; }
.feature-grid li > span { display: flex; flex-direction: column; gap: 2px; }
.feature-grid .muted { font-size: 14px; }
.feature-grid .icon, .tick-list .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tick-list li { display: flex; gap: 8px; align-items: flex-start; }
.band-soft { background: #F1F1EC; }
.link-arrow { font-weight: 600; text-decoration: none; margin-top: auto; }
.link-arrow:hover { text-decoration: underline; }
.bsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.bsteps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.bsteps strong { font-size: 18px; font-family: var(--font-head); }
.bsteps .muted { color: rgba(255,255,255,.75); font-size: 15px; }
.bstep-n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.inquiry-img { height: 240px; }
.inquiry-form { display: flex; flex-direction: column; gap: 18px; }
.inquiry-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.inquiry-done[hidden] { display: none; }
.inquiry-done h3 { font-size: 24px; }
.btn-whatsapp { background: #25D366; color: #0B2E17; align-self: flex-start; }
.btn-whatsapp:hover { background: #1EBE5A; color: #0B2E17; }
.btn-line-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.75); }
.btn-line-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; align-self: flex-start; }
@media (max-width: 900px) {
  .bsplit, .inquiry-layout { grid-template-columns: 1fr; }
  .bsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhero { min-height: 560px; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .bsteps { grid-template-columns: 1fr; }
  .bhero { min-height: 600px; }
  .bhero .chips .btn { flex: 1 1 100%; }
  .inquiry-img { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bhero-img img { animation: none; } }

/* ═══ Investments (navy, dark green, white, restrained gold) ═══ */
.biz-invest .eyebrow { color: var(--c-invest-green); }
.biz-invest .bhero-shade { background: linear-gradient(180deg, rgba(18,35,58,.25) 0%, rgba(18,35,58,.55) 45%, rgba(18,35,58,.93) 100%); }
.biz-invest .bhero-kicker, .eyebrow-gold { color: var(--c-gold) !important; }
.btn-gold { background: var(--c-gold); color: var(--c-invest-deep); }
.btn-gold:hover { background: #E6B94B; color: var(--c-invest-deep); }
.btn-navy { background: var(--c-invest); color: #fff; }
.btn-navy:hover { background: var(--c-invest-deep); color: #fff; }
.biz-invest .feature-grid .icon, .biz-invest .tick-list .icon { color: var(--c-invest-green); }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sector-card { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.sector-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18,35,58,.12); }
.sector-card .bimg { height: 190px; border-radius: 0; }
.sector-card .bimg img { transition: transform .5s ease; }
.sector-card:hover .bimg img { transform: scale(1.05); }
.sector-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sector-card h3 { font-size: 19px; }
.sector-card .link-arrow { color: var(--c-invest); }
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pkg { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c-invest); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.pkg h3 { font-size: 22px; }
.pkg .btn { margin-top: auto; }
.pkg-n { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pkg-price { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--c-invest); }
.pkg-price.is-free { color: var(--c-invest-green); }
.pkg-dur { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.pkg-featured { border-top-color: var(--c-gold); box-shadow: 0 18px 44px rgba(18,35,58,.12); position: relative; }

.band-navy { background: var(--c-invest-deep); color: #fff; }
.band-navy h2 { color: #fff; }
.band-navy .bstep-n { background: var(--c-gold); color: var(--c-invest-deep); }
.terms-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; }
.terms-box { background: var(--c-invest-tint); border: 2px dashed rgba(30,58,95,.35); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.terms-pct { font-family: var(--font-head); font-size: clamp(56px, 8vw, 84px); font-weight: 800; color: var(--c-invest); line-height: 1; display: flex; align-items: baseline; gap: 12px; }
.terms-pct span { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.mgmt-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.mgmt-box h3 { font-size: 24px; }
.mgmt-contract { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #F4F5F0; border-radius: 12px; }
.mgmt-box .btn { align-self: flex-start; }
@media (max-width: 900px) { .sector-grid, .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .terms-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .sector-grid, .pkg-grid { grid-template-columns: 1fr; } }

/* ═══ Savanna Farms (agricultural green, sun yellow, white, earth) ═══ */
.biz-savanna .eyebrow { color: var(--c-savanna-text); }
.sav-hero .bhero-shade { background: linear-gradient(180deg, rgba(31,61,20,.15) 0%, rgba(31,61,20,.5) 45%, rgba(24,40,14,.92) 100%); }
.sav-hero .bhero-img img { object-position: center 40%; }
.sav-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sav-wordmark { display: inline-flex; align-items: center; gap: 12px; }
.sav-wordmark strong { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: .08em; color: #fff; line-height: 1; }
.sav-wordmark em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--c-sun); margin-top: 6px; }
.sav-sun { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--c-sun) 0 45%, transparent 46%), linear-gradient(180deg, transparent 0 58%, #7FB33E 58% 100%); box-shadow: 0 0 0 2px rgba(255,255,255,.6) inset; flex: none; }
.sav-logo-img { height: 64px; width: auto; }
.endorse { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); }
.btn-sun { background: var(--c-sun); color: #2B2408; }
.btn-sun:hover { background: #F2C843; color: #2B2408; }
.btn-leaf { background: var(--c-savanna); color: #fff; }
.btn-leaf:hover { background: var(--c-savanna-deep); color: #fff; }
.biz-savanna .feature-grid .icon, .biz-savanna .tick-list .icon { color: var(--c-savanna); }
.value-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.value-chips span { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--c-savanna-tint); color: var(--c-savanna-text); }
.band-earth { background: var(--c-earth-tint); }
.band-leaf { background: var(--c-savanna-deep); color: #fff; }
.band-leaf h2 { color: #fff; }
.band-leaf .bstep-n, .eyebrow-sun { background: var(--c-sun); color: #2B2408; }
.eyebrow-sun { background: none !important; color: var(--c-sun) !important; }
.product-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcat { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.04); transition: transform .2s, box-shadow .2s; }
.pcat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31,61,20,.14); }
.pcat .bimg { height: 210px; border-radius: 0; }
.pcat .bimg img { transition: transform .5s ease; }
.pcat:hover .bimg img { transform: scale(1.05); }
.pcat .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcat h3 { font-size: 20px; }
.pcat-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcat-items li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--c-savanna-tint); color: var(--c-savanna-text); font-weight: 500; }
.pcat .btn { align-self: flex-start; margin-top: auto; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.svc-n { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--c-savanna); }
.svc strong { font-size: 17px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.price-head { display: flex; align-items: center; gap: 12px; }
.price-head h3 { font-size: 20px; }
.price-tag { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--c-savanna); color: #fff; flex: none; }
.price-excluded { background: #FAF8F3; }
.price-excluded .price-tag { background: var(--c-earth); }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 10px 8px; border-bottom: 1px solid #ECECE5; text-align: start; }
.ptable thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ptable tbody th { font-weight: 600; }
.ptable .num { text-align: end; font-weight: 700; white-space: nowrap; }
.ptable tbody tr:hover { background: var(--c-savanna-tint); }
.x-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.x-list li { display: flex; gap: 10px; align-items: center; }
.x-list span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #EFE7D9; color: var(--c-earth); font-weight: 700; flex: none; }
.sav-contact { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.sav-contact a, .sav-contact > span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sav-contact a:hover { color: var(--c-savanna-text); text-decoration: underline; }
.sav-contact .icon { color: var(--c-savanna); }
.sav-group p { font-size: 15px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .product-cats, .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .product-cats, .svc-grid { grid-template-columns: 1fr; } }

/* Fade-in as sections come into view (skipped for reduced motion) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ═══ Home: the five businesses as one full-width banner ═══ */
.biz-banner { display: flex; gap: 10px; height: clamp(400px, 56vh, 540px); }
.biz-banner > .path { flex: 1 1 0; min-width: 0; position: relative; border-top: 0; border-radius: 20px; overflow: hidden; color: #fff; background: #222; transition: flex-grow .55s cubic-bezier(.2,.7,.2,1), transform .2s; }
.biz-banner > .path:hover, .biz-banner > .path:focus-visible { flex-grow: 2.3; transform: none; }
.biz-banner > .path:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.biz-banner .photo { position: absolute; inset: 0; height: 100% !important; border-radius: 0; }
.biz-banner .photo img { transition: transform .8s ease; }
.biz-banner > .path:hover .photo img { transform: scale(1.05); }
.biz-banner > .path::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); z-index: 3; }
.biz-banner > .path::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.85) 100%); pointer-events: none; }
.biz-banner .body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: none; padding: 22px 22px 24px; gap: 6px; }
.biz-banner .body strong { color: #fff; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.2; }
.biz-banner .body .muted { color: rgba(255,255,255,.86); font-size: 14px; }
.biz-banner .body .tags { color: var(--accent); filter: brightness(1.35); font-size: 12px; }
.biz-banner .stock-tag { top: 14px; bottom: auto; }
@media (min-width: 1001px) and (hover: hover) {
  /* Details appear on the panel you point at */
  .biz-banner .body .muted, .biz-banner .body .tags { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s ease, max-height .45s ease; }
  .biz-banner > .path:hover .body .muted, .biz-banner > .path:hover .body .tags, .biz-banner > .path:focus-visible .body .muted, .biz-banner > .path:focus-visible .body .tags { max-height: 80px; opacity: 1; }
}
@media (max-width: 1000px) {
  .biz-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .biz-banner > .path { height: 230px; }
  .biz-banner > .path:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .biz-banner { grid-template-columns: 1fr; gap: 10px; }
  .biz-banner > .path { height: 170px; border-radius: 16px; }
  .biz-banner .body { padding: 16px 18px 18px; }
  .biz-banner .body .tags { display: none; }
}
@media (prefers-reduced-motion: reduce) { .biz-banner > .path, .biz-banner .photo img { transition: none; } }

/* Jump links (#services, #quote…) land below the fixed header */
[id] { scroll-margin-top: 96px; }

/* Official Savanna Farms logo */
.sav-logo-img { height: clamp(40px, 7vw, 62px); width: auto; max-width: 100%; display: block; }
.sav-contact-logo { width: min(260px, 100%); height: auto; margin-bottom: 4px; }
.sav-brand { flex-direction: column; align-items: flex-start; }

/* ═══ Photo grading: calmer, more professional colour. Originals stay untouched. ═══ */
.is-photo img { filter: saturate(.88) contrast(1.02); }
/* Renders: softer colour, a touch of warmth and fine film grain take the "computer-generated" edge off */
.is-render img { filter: saturate(.8) contrast(1.04) brightness(.98) sepia(.07); }
.is-render::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.is-render .stock-tag, .is-photo .stock-tag { z-index: 2; }

/* ═══ Click a photo to see all of it ═══ */
.photo[data-zoom] { cursor: zoom-in; }
.photo[data-zoom]::before { content: '⤢'; position: absolute; right: 10px; top: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background: rgba(20,23,19,.6); color: #fff; display: grid; place-items: center; font-size: 16px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.photo[data-zoom]:hover::before, .photo[data-zoom]:focus-visible::before { opacity: 1; }
.photo[data-zoom]:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (hover: none) { .photo[data-zoom]::before { opacity: .85; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; overflow: hidden; }
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; }
dialog.lightbox::backdrop { background: rgba(12,14,12,.92); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 94vw; }
.lb-fig img { max-width: 94vw; max-height: 82dvh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-fig figcaption { color: #E8EAE4; font-size: 15px; text-align: center; }
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(20,23,19,.6); color: #fff; font-size: 24px; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.15); }
.lb-close { top: 16px; right: 16px; font-size: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-btn[hidden] { display: none; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }

/* Swipeable project photos */
.pslider-proj { height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
.pslider-proj .pslides img { cursor: zoom-in; }

/* ═══ "Also in Shoumar Group": slim index of the other businesses ═══ */
.gs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.gs-head .eyebrow { font-size: 13px; margin: 0; }
.gs-all { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.gs-all:hover { color: var(--ink); text-decoration: underline; }
.gs-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #DADBD3; border-bottom: 1px solid #DADBD3; }
.gs-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px 18px; color: var(--ink); text-decoration: none; transition: background .25s; }
.gs-item + .gs-item { border-left: 1px solid #DADBD3; }
.gs-item::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.gs-item:hover::before, .gs-item:focus-visible::before { transform: scaleX(1); }
.gs-item:hover { background: rgba(255,255,255,.6); color: var(--ink); }
.gs-item:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.gs-thumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: #E6E8E1; box-shadow: inset 0 -3px 0 var(--accent); }
.gs-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .5s ease; }
.gs-item:hover .gs-thumb img { transform: scale(1.08); }
.gs-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gs-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1.2; }
.gs-desc { font-size: 13px; color: var(--muted); line-height: 1.35; }
.gs-arrow { font-size: 18px; color: var(--muted); transition: transform .25s, color .25s; }
.gs-item:hover .gs-arrow { transform: translateX(4px); color: var(--ink); }
[dir="rtl"] .gs-item::before { transform-origin: right; }
@media (max-width: 1000px) {
  .gs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-item:nth-child(3) { border-left: 0; }
  .gs-item:nth-child(n+3) { border-top: 1px solid #DADBD3; }
}
@media (max-width: 600px) {
  .gs-list { grid-template-columns: 1fr; }
  .gs-item { padding: 14px 4px; }
  .gs-item + .gs-item { border-left: 0; border-top: 1px solid #DADBD3; }
  .gs-all { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gs-item::before, .gs-thumb img, .gs-arrow { transition: none; } }

/* ═══ Frames follow the photos' shape (4:3) instead of fixed heights, so less is cut ═══ */
.search-card .photo { height: auto; aspect-ratio: 4 / 3; }
.sector-card .bimg, .pcat .bimg { height: auto; aspect-ratio: 4 / 3; }
.bsplit-img { height: auto; aspect-ratio: 4 / 3; }
.inquiry-img { height: auto; aspect-ratio: 16 / 10; }

/* Coloured bands need the same space below their content as above it (sections only define top space) */
.band-soft.section, .band-navy.section, .band-leaf.section, .band-earth.section { padding-bottom: 80px; }
.band-soft.section.section-last, .band-earth.section.section-last { padding-bottom: 88px; }
@media (max-width: 760px) {
  .band-soft.section, .band-navy.section, .band-leaf.section, .band-earth.section { padding-bottom: 56px; }
}

/* Privacy page */
.legal { max-width: 780px; padding-top: 40px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 22px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.legal-sec { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.legal-sec h2 { font-size: 21px; margin-top: 12px; }
.legal-sec p, .legal-sec li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-sec ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

/* Building Materials while the catalogue is coming soon */
.soon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.soon-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.soon-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-materials-tint); }
.soon-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.soon-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.soon-card h3 { font-size: 19px; }
.soon-card .link-arrow { color: var(--c-materials-text); }
@media (max-width: 1000px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .soon-grid { grid-template-columns: 1fr; } }

/* Home figures: 4 in a row, 2 x 2 on tablet and phone */
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Home banner: business list + one large photo (replaces the 5 photo panels) */
.biz-list { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; }
.bl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.bl-list li { border-bottom: 1px solid rgba(255,255,255,.16); }
.bl-list a { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 18px 6px; color: #fff; text-decoration: none; position: relative; }
.bl-list a::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); filter: brightness(1.4); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.bl-list a.is-on::before, .bl-list a:hover::before, .bl-list a:focus-visible::before { width: 100%; }
.bl-num { font-size: 13px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.bl-thumb { display: none; }
.bl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bl-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; color: rgba(255,255,255,.75); transition: color .25s; }
.bl-line { font-size: 14px; color: rgba(255,255,255,.62); }
.bl-list a.is-on .bl-name, .bl-list a:hover .bl-name, .bl-list a:focus-visible .bl-name { color: #fff; }
.bl-arrow { font-size: 20px; color: rgba(255,255,255,.5); transition: transform .25s, color .25s; }
.bl-list a.is-on .bl-arrow, .bl-list a:hover .bl-arrow { color: #fff; transform: translateX(4px); }
.bl-list a:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.bl-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #26332B; width: 100%; }
.bl-pic { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease; }
.bl-pic.is-on { opacity: 1; }
.bl-stage img, .bl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.88); }
.bl-pic figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 99px; display: flex; gap: 8px; align-items: center; }
.bl-pic figcaption span { width: 8px; height: 8px; border-radius: 50%; }
.bl-pic .stock-tag { top: 14px; bottom: auto; }
@media (max-width: 900px) {
  .biz-list { grid-template-columns: 1fr; }
  .bl-stage { display: none; }
  .bl-list a { grid-template-columns: 64px minmax(0,1fr) auto; padding: 12px 2px; }
  .bl-num { display: none; }
  .bl-thumb { display: block; width: 64px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; box-shadow: inset 0 -3px 0 var(--accent); }
  .bl-name { font-size: 18px; color: #fff; }
  .bl-line { font-size: 13px; }
  .bl-list a::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bl-pic, .bl-list a::before, .bl-arrow { transition: none; } }

/* End of every business page: the group in words (replaces the thumbnail strip) */
.group-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); color: #fff; align-items: start; background: var(--dark); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.gb-intro { display: flex; flex-direction: column; gap: 12px; }
.gb-intro .eyebrow { color: var(--lime); margin: 0; font-size: 13px; }
.gb-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0; color: #fff; }
.gb-about { color: var(--lime); font-weight: 600; font-size: 15px; }
.gb-about:hover { color: #fff; }
.gb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.gb-list li { border-bottom: 1px solid rgba(255,255,255,.16); }
.gb-row { display: grid; grid-template-columns: 10px auto minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 16px 4px; color: #fff; text-decoration: none; }
.gb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); filter: brightness(1.5); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.gb-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.gb-line { font-size: 14px; color: rgba(255,255,255,.62); }
.gb-arrow { color: rgba(255,255,255,.55); transition: transform .25s, color .25s; }
a.gb-row:hover { color: #fff; }
a.gb-row:hover .gb-arrow { transform: translateX(4px); color: #fff; }
a.gb-row:hover .gb-name { text-decoration: underline; text-underline-offset: 4px; }
a.gb-row:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.gb-row.is-here { opacity: .55; }
.gb-here { grid-column: 3 / 5; justify-self: end; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 760px) {
  .group-band { grid-template-columns: 1fr; }
  .gb-row { grid-template-columns: 10px minmax(0,1fr) auto; row-gap: 2px; }
  .gb-line { grid-column: 2; grid-row: 2; font-size: 13px; }
  .gb-arrow { grid-row: 1 / 3; grid-column: 3; }
  .gb-here { grid-column: 3; }
}

/* Arabic: arrows point the reading way */
[dir="rtl"] .bl-arrow, [dir="rtl"] .gb-arrow { transform: scaleX(-1); }
[dir="rtl"] .bl-list a.is-on .bl-arrow, [dir="rtl"] .bl-list a:hover .bl-arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .bl-list a::before { left: auto; right: 0; }
/* Home figures: one row on desktop whatever the number of figures */
@media (min-width: 901px) { .stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }

/* Home list: business name above each line; photo lines up with the top of the list */
.bl-biz { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; filter: brightness(1.6) saturate(.9); }
.biz-list { align-items: start; }
.bl-stage { margin-top: 1px; }
.bl-list a { padding: 16px 6px; }
@media (max-width: 900px) { .bl-biz { font-size: 11px; } .bl-list a { padding: 12px 2px; } }

.bl-biz { color: rgba(255,255,255,.62); filter: none; display: inline-flex; align-items: center; gap: 7px; }
.bl-biz::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); filter: brightness(1.5); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
@media (min-width: 901px) { .biz-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; } .bl-stage { aspect-ratio: auto; height: auto; min-height: 340px; margin-top: 0; } }

/* Building Materials: light, room-photo look */
.bm-page { background: #F6F3EE; }
.bm-hero { position: relative; min-height: clamp(440px, 64vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #3A342C; }
.bm-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; filter: saturate(.9); }
.bm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,24,19,.78) 0%, rgba(28,24,19,.5) 42%, rgba(28,24,19,.05) 75%), linear-gradient(0deg, rgba(28,24,19,.45), rgba(28,24,19,0) 45%); }
.bm-hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding-top: 48px; padding-bottom: 52px; }
.bm-hero-text > * { max-width: 620px; }
.bm-hero .breadcrumb, .bm-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.bm-hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.bm-hero p { font-size: 17px; color: rgba(255,255,255,.88); }
.bm-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #E9D9B8; }
.bm-kicker.dark { color: var(--c-materials-text); }
.bm-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.bm-ranges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bm-range { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.bm-range:hover { color: var(--ink); }
.bm-range-img { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: #DDD5C8; }
.bm-range-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: transform .7s ease; }
.bm-range-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,13,.6), rgba(20,17,13,0) 50%); }
.bm-range:hover .bm-range-img img { transform: scale(1.05); }
.bm-range-name { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(18px, 1.8vw, 24px); text-transform: uppercase; letter-spacing: .04em; }
.bm-range-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 0; font-size: 15px; }
.bm-range-cta { font-weight: 700; color: var(--c-materials-text); }
.bm-range:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 8px; }
.bm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bm-steps li { background: #fff; border: 1px solid #E6DFD3; border-radius: 6px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.bm-step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--c-materials); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 4px; }
.bm-steps strong { font-size: 18px; }
.bm-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #DDD5C8; border-bottom: 1px solid #DDD5C8; }
.bm-services li { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.bm-services li + li { border-left: 1px solid #DDD5C8; }
.bm-services strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) {
  .bm-ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-steps, .bm-services { grid-template-columns: 1fr; }
  .bm-services li + li { border-left: 0; border-top: 1px solid #DDD5C8; }
}
@media (max-width: 600px) {
  .bm-hero { min-height: 540px; }
  .bm-hero-img { object-position: 62% 50%; }
  .bm-hero::after { background: linear-gradient(0deg, rgba(28,24,19,.9) 0%, rgba(28,24,19,.62) 55%, rgba(28,24,19,.15) 100%); }
  .bm-hero-text { padding-bottom: 32px; }
  .bm-ranges { gap: 12px; }
  .bm-range-name { left: 12px; bottom: 10px; font-size: 16px; }
  .bm-range-body { font-size: 14px; }
}

.bm-hero-text { width: 100%; box-sizing: border-box; }

/* Search box inside the Building Materials photo header */
.bm-hero .search { max-width: 620px; width: 100%; }

/* Swipeable photos on property cards */
.card > .pslider-card { border-radius: 0; }
.pslider-card.no-zoom .pslides img { cursor: grab; }
.pslider-card .stock-tag { top: 12px; bottom: auto; left: 12px; }

/* Home: four selected projects (4 across, 2 x 2 on tablet, 1 on phone) */
.grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid.grid-4 { grid-template-columns: 1fr; } }

/* Building Materials: catalogue coming-soon label and request form */
.bm-soon { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(20,17,13,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; }
.bm-request { background: #fff; }
@media (max-width: 600px) { .bm-soon { font-size: 11px; top: 8px; left: 8px; padding: 4px 8px; } }
