/* SmartRooms Qatar storefront. Tokens and components from the Claude Design handoff (README §5). */
:root {
  --ink: #2A1A14;
  --maroon: #8A1538;
  --maroon-hover: #6f102c;
  --maroon-link: #5f0e26;
  --sand: #F7F1E6;
  --sand-2: #EADFCB;
  --card: #FFFFFF;
  --border: #E5DACA;
  --border-2: #DCCFB9;
  --hair: #EFE6D6;
  --hair-2: #F1E8D9;
  --hair-3: #F4EDE1;
  --text-2: #4a3a2e;
  --text-3: #5c4b3e;
  --muted: #7a6a5c;
  --muted-2: #8b7b6c;
  --on-dark: #F3EBDD;
  --on-dark-muted: #C7B8A6;
  --on-dark-accent: #E9B8C2;
  --dark-line: #4a372c;
  --dark-panel: #3a2a20;
  --whatsapp: #25D366;
  --success: #2F7D4F;
  --warning: #9A6A1F;
  --disabled: #BCA98E;
  --sun: #E9A23B;

  --font-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --px: 44px;
  --h1: 54px;
  --h2: 34px;
  --lead: 18px;
  --pdp-h1: 56px;
  --pdp-gap: 48px;
  --header-h: 118px;

  --shadow-card: 0 14px 30px rgba(42, 26, 20, .14);
  --shadow-mega: 0 24px 50px rgba(42, 26, 20, .18);
  --shadow-modal: 0 30px 80px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

html[lang="ar"] { --font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }

@media (max-width: 1099px) {
  :root { --h1: 44px; --pdp-h1: 44px; }
}

@media (max-width: 759px) {
  :root { --px: 18px; --h1: 32px; --h2: 25px; --lead: 15.5px; --pdp-h1: 34px; --pdp-gap: 20px; --header-h: 124px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 160px; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 15px/1.6 var(--font-body); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-link); }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
::placeholder { color: #9a8b7c; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; color: #fff; }
.mono { font-family: var(--font-mono); }
[dir="ltr"].ltr, .ltr { direction: ltr; unicode-bidi: isolate; }
.px { padding-inline: var(--px); }
.kicker { font-size: 14px; color: var(--maroon); font-weight: 600; margin: 0 0 8px; }
.h2 { font: 600 var(--h2)/1.25 var(--font-display); margin: 0 0 24px; }
.section { padding-block: 56px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp); flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 4px; font-size: 14px; font-weight: 600; border: 0; white-space: nowrap; transition: background .2s, color .2s, transform .25s var(--ease), filter .25s; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-hover); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; filter: brightness(1.15); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-lg { height: 50px; font-size: 15.5px; font-weight: 700; }

/* Sadu divider */
.sadu { height: 14px; background:
  conic-gradient(from 135deg at 50% 0, var(--maroon) 90deg, transparent 0) 0 0/14px 7px repeat-x,
  conic-gradient(from -45deg at 50% 100%, var(--ink) 90deg, transparent 0) 7px 7px/14px 7px repeat-x; }
.sadu.thin { height: 10px; background:
  conic-gradient(from 135deg at 50% 0, var(--maroon) 90deg, transparent 0) 0 0/10px 5px repeat-x,
  conic-gradient(from -45deg at 50% 100%, var(--ink) 90deg, transparent 0) 5px 5px/10px 5px repeat-x; }
@keyframes srSadu { from { background-position: 0 0, 7px 7px; } to { background-position: 14px 0, 21px 7px; } }
@media (prefers-reduced-motion: no-preference) { .sadu.anim { animation: srSadu 1.6s linear infinite; } }

/* Top bar */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 12.5px; padding: 8px var(--px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar .hours { opacity: .75; }
.topbar .end { display: flex; gap: 16px; align-items: center; }
.topbar a { color: var(--on-dark); font-weight: 600; }
.topbar .lang-ar { font-family: "IBM Plex Sans Arabic", sans-serif; }
.topbar .lang-en { font-family: "IBM Plex Sans", sans-serif; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(247, 241, 230, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-main { padding: 12px var(--px); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 50px; width: auto; display: block; }
.search { flex: 1; display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 6px; height: 46px; background: #fff; overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 15px; background: transparent; color: var(--ink); height: 100%; }
.search button { height: 100%; border: 0; background: var(--maroon); color: #fff; padding: 0 22px; font-size: 15px; font-weight: 600; }
.search button:hover { background: var(--maroon-hover); }
.header-mobile-search { display: none; padding: 0 var(--px) 12px; }
.header-mobile-search .search { height: 44px; }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; border-radius: 4px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.burger span { width: 20px; height: 2px; background: var(--ink); }
.btn-quote-short { display: none; }

.nav-wrap { position: relative; }
.nav { padding: 0 var(--px); display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; height: 44px; align-items: center; border-top: 1px solid var(--hair); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink); border-bottom: 2px solid transparent; padding: 11px 0; display: flex; gap: 5px; align-items: center; }
.nav a.more { color: var(--text-3); }
.nav a:hover, .nav a.active { color: var(--maroon); }
.nav a.active { border-bottom-color: var(--maroon); }
.nav .chev { font-size: 12px; opacity: .55; line-height: 1; transition: transform .2s; }
.nav a[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav .sep { color: var(--border-2); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--sand); border-top: 1px solid var(--border-2); border-bottom: 3px solid var(--maroon); box-shadow: var(--shadow-mega); }
.mega[hidden] { display: none; }
.mega-inner { padding: 28px var(--px) 30px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.mega-intro { display: flex; flex-direction: column; gap: 12px; }
.mega-title { font: 600 26px/1.2 var(--font-display); }
.mega-intro p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.mega-intro .btn { align-self: flex-start; height: auto; padding: 11px 16px; }
.mega-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--maroon); text-transform: uppercase; margin-bottom: 8px; }
.mega-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; color: var(--ink); }
.mega-list.brands a { padding: 6px 0; border-bottom: 0; font-size: 14px; }
.mega-list a:hover, .mega-list a.hov { color: var(--maroon); }
.mega-list .n { font: 400 12px var(--font-mono); color: var(--muted-2); }
.mega-pic { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.mega-pic:hover { color: var(--ink); }
.mega-pic .frame { position: relative; height: 190px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--border); }
.mega-pic .frame.photo { background: var(--ink); }
.mega-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; animation: srFade .35s ease; }
.mega-pic .frame.photo img { object-fit: cover; padding: 0; }
.mega-pic .badge { position: absolute; inset-inline-start: 10px; top: 10px; background: rgba(42, 26, 20, .88); color: #fff; font-size: 12px; font-weight: 600; border-radius: 3px; padding: 3px 9px; }
.mega-pic .cap { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.mega-pic .cap small { font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; }
.mega-pic .cap b { font-size: 15px; }
.mega-pic .cap span { font-size: 12.5px; color: var(--muted); }
@keyframes srFade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(42, 26, 20, .55); }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: 86%; max-width: 360px; z-index: 61; background: var(--sand); padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-head img { height: 36px; width: auto; }
.drawer-close { border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--maroon); }
.drawer details { border-bottom: 1px solid var(--border); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary a { padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--ink); flex: 1; }
.drawer summary .sign { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--maroon); }
.drawer details[open] .sign .plus, .drawer details:not([open]) .sign .minus { display: none; }
.drawer .types { padding: 0 4px 12px; display: flex; flex-direction: column; }
.drawer .types a { display: flex; justify-content: space-between; padding: 9px 12px; font-size: 15px; color: var(--text-3); border-inline-start: 2px solid var(--border-2); }
.drawer .types .n { font-size: 12px; color: var(--muted-2); }
.drawer .more { padding: 12px 4px; border-bottom: 1px solid var(--hair); font-size: 15.5px; color: var(--text-3); }
.drawer .btn { margin-top: 16px; height: auto; padding: 13px; }
.drawer .lang { text-align: center; padding: 12px; font-weight: 600; }

/* Home: hero */
.hero { position: relative; height: 620px; overflow: hidden; background: var(--ink); }
.hero > img, .space-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 26, 20, .93) 0%, rgba(42, 26, 20, .78) 40%, rgba(42, 26, 20, 0) 72%); }
[dir="rtl"] .hero .grad { background: linear-gradient(270deg, rgba(42, 26, 20, .93) 0%, rgba(42, 26, 20, .78) 40%, rgba(42, 26, 20, 0) 72%); }
.hero .copy { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--px); width: min(620px, 54%); display: flex; flex-direction: column; justify-content: center; color: var(--sand); }
.hero .kick { font-size: 14px; font-weight: 500; color: var(--on-dark-accent); margin-bottom: 14px; }
.hero h1 { font: 600 var(--h1)/1.2 var(--font-display); margin: 0 0 18px; }
.hero p { font-size: var(--lead); line-height: 1.7; margin: 0 0 24px; font-weight: 300; color: #E8DFD2; }
.hero .search { flex: none; height: 56px; border: 0; background: var(--sand); }
.hero .search input { font-size: 15.5px; padding: 0 18px; }
.hero .search button { padding: 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chips a { font-size: 13.5px; border: 1px solid rgba(247, 241, 230, .4); border-radius: 30px; padding: 5px 13px; color: var(--sand); }
.chips a:hover { background: rgba(247, 241, 230, .12); color: #fff; }
@keyframes srKen { from { transform: scale(1); } to { transform: scale(1.08) translateY(-1.5%); } }
@media (prefers-reduced-motion: no-preference) { .kenburns { animation: srKen 22s ease-in-out infinite alternate; } }

.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); color: var(--on-dark); }
.promises > div { padding: 20px 24px; border-inline-start: 1px solid var(--dark-line); border-top: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 4px; }
.promises b { font: 600 17px var(--font-display); color: #fff; }
.promises span { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.55; }

.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grid-feat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }

.cat-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .35s, box-shadow .35s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--ink); }
.cat-card .pic { height: 140px; display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--hair-2); }
.cat-card .pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.cat-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cat-card .row b { font-weight: 600; font-size: 15.5px; }
.cat-card .row span { font: 500 12.5px var(--font-mono); color: var(--maroon); }
.cat-card .types { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.space-card { position: relative; height: 290px; border-radius: 6px; overflow: hidden; background: var(--ink); display: block; color: #fff; transition: transform .4s, box-shadow .4s; }
.space-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(42, 26, 20, .3); color: #fff; }
.space-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.space-card .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 26, 20, .92) 0%, rgba(42, 26, 20, 0) 62%); }
.space-card .txt { position: absolute; inset-inline: 20px; bottom: 18px; }
.space-card b { display: block; font: 600 22px var(--font-display); margin-bottom: 4px; }
.space-card span { font-size: 13.5px; color: #E8DFD2; }

.band-dark { margin: 0 var(--px) 56px; background: var(--ink); color: #fff; border-radius: 10px; padding: 34px 38px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; align-items: center; }
.band-dark .kick { font-size: 14px; color: var(--on-dark-accent); font-weight: 600; margin-bottom: 8px; }
.band-dark h2 { font: 600 28px/1.35 var(--font-display); margin: 0 0 10px; }
.band-dark p { font-size: 15px; line-height: 1.7; color: var(--on-dark-muted); margin: 0; }
.band-dark .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.band-dark .btn-ghost { border: 1px solid #57524a; color: #fff; }
.band-dark .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.brands-band { background: #fff; border-block: 1px solid var(--border); padding: 48px var(--px); display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; }
.brands-band h2 { font: 600 28px/1.3 var(--font-display); margin: 0 0 10px; }
.brands-band p { font-size: 14.5px; line-height: 1.65; color: var(--text-3); margin: 0; }
.brand-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 22px; }
.brand-cols a { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--hair-2); font-size: 14px; color: var(--ink); font-weight: 500; }
.brand-cols a:hover { color: var(--maroon); }
.brand-cols .n { font: 400 11.5px var(--font-mono); color: var(--muted-2); }

.timeline-band { background: var(--ink); color: var(--on-dark); padding: 56px var(--px); display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 44px; }
.timeline-band .kick { font-size: 14px; color: var(--on-dark-accent); font-weight: 600; margin-bottom: 8px; }
.timeline-band h2 { font: 600 28px/1.35 var(--font-display); margin: 0 0 12px; color: #fff; }
.timeline-band p { font-size: 15px; line-height: 1.7; color: var(--on-dark-muted); margin: 0 0 22px; }
.timeline-band .right { display: flex; flex-direction: column; gap: 22px; }
.step { border: 1px solid var(--dark-line); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.step .n { font: 700 26px var(--font-display); color: var(--on-dark-accent); }
.step b { font: 600 18px var(--font-display); color: #fff; }
.step span { font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.55; }
.munis { display: flex; flex-wrap: wrap; gap: 8px; }
.munis span { border: 1px solid var(--dark-line); border-radius: 30px; padding: 6px 14px; font-size: 13.5px; color: var(--on-dark); }
.note { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 10px; }

/* Accordion FAQ (details/summary, content always in the DOM) */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px; }
.faq-wrap h2 { font: 600 30px/1.3 var(--font-display); margin: 0; }
.faq details { border-top: 1px solid var(--border-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; color: var(--ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--maroon); font-size: 20px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .a { font-size: 15px; line-height: 1.75; color: var(--text-3); padding: 0 0 18px; }
.faq.small summary { font-size: 16px; padding: 16px 0; }
.faq.small .a { font-size: 14.5px; padding-bottom: 16px; }

/* Product card */
.card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card .pic { display: block; position: relative; height: 170px; background: #fff; }
.card .pic img { position: absolute; top: 14px; left: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.card .ph { position: absolute; inset: 10px; border-radius: 6px; background: repeating-linear-gradient(135deg, var(--sand) 0 10px, var(--hair-2) 10px 20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 10px; }
.card .ph b { font: 700 22px var(--font-display); color: var(--maroon); opacity: .7; }
.card .ph span { font: 500 11px var(--font-mono); color: var(--muted); }
.card .disc { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 3px; padding: 2px 8px; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--hair-2); }
.card .brand { font-size: 11.5px; font-weight: 600; letter-spacing: .05em; color: var(--muted-2); text-transform: uppercase; }
.card .model { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.card .model:hover { color: var(--maroon); }
.card .sub { font-size: 12.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.card .tags span { font-size: 12px; border: 1px solid var(--border); border-radius: 3px; padding: 2px 7px; color: var(--text-3); }
.card .req { margin-top: auto; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); border-radius: 4px; padding: 9px; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.card .req:hover { background: var(--ink); color: #fff; }

/* Listing */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 0 0 14px; padding: 0; list-style: none; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--maroon); }
.crumbs li + li::before { content: "/"; opacity: .5; margin-inline-end: 8px; }
.crumbs [aria-current] { color: var(--ink); }
.list-head { padding-top: 22px; }
.list-head h1 { font: 600 var(--h2)/1.25 var(--font-display); margin: 0 0 10px; }
.list-head .intro { max-width: 780px; font-size: 15.5px; line-height: 1.75; color: var(--text-2); margin: 0 0 6px; text-wrap: pretty; }
.groups { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 4px; }
.groups::-webkit-scrollbar { display: none; }
.groups a { flex: none; font-size: 13.5px; font-weight: 500; border: 1px solid var(--border-2); background: #fff; color: var(--ink); border-radius: 30px; padding: 7px 14px; white-space: nowrap; }
.groups a:hover { border-color: var(--ink); color: var(--ink); }
.groups a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.list-body { padding-block: 18px 56px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.filters legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.filters label.check { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; gap: 9px; cursor: pointer; }
.filters label.check span:first-child { display: flex; gap: 9px; align-items: center; }
.filters input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--maroon); margin: 0; }
.filters .n { font: 400 11.5px var(--font-mono); color: var(--muted-2); }
.filters .sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.filters .sizes label { display: flex; gap: 6px; align-items: center; border: 1px solid var(--border-2); background: #fff; border-radius: 4px; padding: 5px 9px; font-size: 13px; cursor: pointer; }
.filters .sizes input { width: 12px; height: 12px; }
.filters .more-brands summary { color: var(--maroon); font-weight: 600; font-size: 13.5px; padding: 6px 0; list-style: none; cursor: pointer; }
.filters .actions { display: flex; gap: 10px; align-items: center; }
.filters .actions .btn { height: 38px; }
.filters .clear { color: var(--maroon); font-weight: 600; font-size: 13.5px; }
.filters-toggle { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13.5px; color: var(--text-3); }
.results-head .sorts { display: flex; gap: 14px; align-items: center; }
.results-head .sorts a { color: var(--muted); font-weight: 500; }
.results-head .sorts a[aria-current="true"] { color: var(--maroon); font-weight: 700; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1.5px solid var(--border-2); border-radius: 4px; background: #fff; font-weight: 600; color: var(--ink); }
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { background: #fff; border: 1.5px dashed var(--disabled); border-radius: 8px; padding: 36px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.empty b { font: 600 22px var(--font-display); }
.empty p { max-width: 480px; margin: 0; color: var(--text-3); line-height: 1.7; }
.empty .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Product page */
.disc-banner { margin: 14px var(--px) 0; background: var(--ink); color: #fff; border-radius: 6px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.disc-banner b { display: block; font-size: 15.5px; }
.disc-banner span { font-size: 14px; color: var(--on-dark-muted); }
.pdp-crumbs { padding: 18px var(--px) 0; }
.pdp-crumbs .crumbs { margin: 0; }
.pdp-hero { padding: 20px var(--px) 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--pdp-gap); align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery .main { position: relative; height: 500px; border-radius: 10px; overflow: hidden; background: #fff; margin: 0; }
.gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 36px; }
.gallery .main.photo { background: var(--ink); }
.gallery .main.photo img { object-fit: cover; padding: 0; }
.gallery .noimg { position: absolute; inset-inline-start: 16px; bottom: 16px; background: rgba(247, 241, 230, .95); border-radius: 6px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; }
.gallery .noimg b { font: 700 22px var(--font-display); color: var(--maroon); }
.gallery .noimg span { font-size: 12.5px; color: var(--text-3); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.thumbs button { width: 96px; height: 72px; flex: none; border-radius: 6px; border: 2px solid var(--border); background: #fff; padding: 0; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--maroon); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.thumbs button.photo { background: var(--ink); }
.thumbs button.photo img { object-fit: cover; padding: 0; }
.pdp-info { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; min-width: 0; }
.pdp-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pdp-meta .brand { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--maroon); text-transform: uppercase; }
.pdp-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--disabled); }
.pdp-meta .cat { font-size: 13px; color: var(--muted); }
.status { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--success); border-radius: 3px; padding: 2px 8px; }
.status.disc { background: var(--ink); }
.pdp-info h1 { font: 700 var(--pdp-h1)/1.05 var(--font-display); margin: 0; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pdp-info .name { font-size: var(--lead); line-height: 1.55; color: var(--text-2); text-wrap: pretty; margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border-2); border-inline-start: 1px solid var(--border-2); margin: 0; }
.tiles div { padding: 12px 14px; border-inline-end: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tiles dt { font-size: 11.5px; color: var(--muted); }
.tiles dd { margin: 0; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.cta-row .btn-primary { flex: 1; min-width: 180px; }
.info-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 6px; background: #fff; font-size: 12.5px; line-height: 1.45; }
.info-strip div { padding: 11px 12px; border-inline-end: 1px solid var(--hair); }
.info-strip div:last-child { border-inline-end: 0; }
.info-strip span { display: block; color: var(--muted); }
.sheet-link { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; }
.badge-file { font: 700 10px var(--font-mono); background: var(--maroon); color: #fff; border-radius: 3px; padding: 3px 6px; }

.tabs { position: sticky; top: var(--header-h); z-index: 30; margin-top: 36px; background: rgba(247, 241, 230, .97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-block: 1px solid var(--border-2); }
.tabs-inner { padding: 0 var(--px); display: flex; align-items: center; gap: 22px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tabs a:hover { color: var(--maroon); }
.tabs .grow { flex: 1; }
.tabs .model { font-weight: 700; font-size: 14px; white-space: nowrap; }
.tabs .btn { height: 36px; font-size: 13.5px; }

.pdp-section { padding: 48px var(--px) 8px; scroll-margin-top: 150px; }
.pdp-section h2 { font: 600 var(--h2)/1.2 var(--font-display); margin: 0; }
.overview { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--pdp-gap); }
.overview .label { font-size: 13px; font-weight: 700; color: var(--maroon); margin-bottom: 10px; }
.overview .short { font: 400 20px/1.65 var(--font-body); margin: 0 0 18px; color: var(--ink); text-wrap: pretty; }
.prose { font-size: 15.5px; line-height: 1.8; color: var(--text-2); }
.prose h2 { font: 600 22px/1.35 var(--font-display); color: var(--ink); margin: 28px 0 8px; }
.prose h3 { font: 600 17px/1.4 var(--font-body); color: var(--ink); margin: 20px 0 6px; }
.prose p { margin: 0 0 14px; max-width: 76ch; }
.prose ul { margin: 0 0 14px; padding-inline-start: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); }
.panel { background: #fff; border-radius: 10px; padding: 22px 24px; align-self: start; }
.panel h3 { font: 600 18px var(--font-display); margin: 0 0 8px; }
.diamonds { list-style: none; margin: 0; padding: 0; }
.diamonds li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--hair-2); font-size: 14.5px; line-height: 1.5; }
.diamonds li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; background: var(--maroon); transform: rotate(45deg); }
.side-stack { display: flex; flex-direction: column; gap: 16px; align-self: start; }
.module { background: var(--sand-2); border-radius: 10px; padding: 20px 22px; }
.module h3 { font: 600 18px var(--font-display); margin: 0 0 8px; }
.module p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.wall-ctl { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0; }
.stepper { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.stepper .box { display: flex; align-items: center; border: 1px solid var(--border-2); border-radius: 4px; height: 36px; background: #fff; }
.stepper button { width: 34px; height: 100%; border: 0; background: transparent; font-size: 16px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.wall-grid { display: grid; gap: 3px; background: var(--ink); padding: 3px; border-radius: 4px; max-width: 320px; margin: 12px 0; }
.wall-grid span { background: #3a4a5c; aspect-ratio: 16/9; }
.est { font-size: 13.5px; color: var(--text-3); line-height: 1.6; }

.spec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.spec-head .src { font-size: 13px; color: var(--muted); margin-top: 6px; }
.spec-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spec-tools input { width: 260px; border: 1.5px solid var(--ink); border-radius: 4px; padding: 10px 14px; font-size: 14px; background: #fff; outline: none; }
.spec-tools button { background: transparent; border: 0; color: var(--maroon); font-weight: 600; font-size: 13.5px; }
.spec-tools button.mute { color: var(--muted); }
.specs { border-top: 2px solid var(--ink); }
.specs details { border-bottom: 1px solid var(--border-2); }
.specs summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 2px; cursor: pointer; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary .g { font: 600 17px var(--font-display); }
.specs summary .g small { font: 500 12px var(--font-mono); color: var(--muted-2); margin-inline-start: 6px; }
.specs summary::after { content: "+"; color: var(--maroon); font-size: 22px; line-height: 1; }
.specs details[open] summary::after { content: "−"; }
.specs dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding: 0 2px 12px; margin: 0; }
.specs .row { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px; line-height: 1.5; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.specs .row[hidden], .specs details[hidden] { display: none; }
.specs-none { background: #fff; border-radius: 10px; padding: 20px; font-size: 14.5px; line-height: 1.7; color: var(--text-3); }

.dl-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.dl-head span { font-size: 13px; color: var(--muted); }
.dl-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.dl-tabs button { flex: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 30px; padding: 7px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dl-tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.file { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; color: var(--ink); transition: border-color .2s, transform .2s; }
.file:hover { border-color: var(--maroon); transform: translateY(-2px); color: var(--ink); }
.file[hidden] { display: none; }
.file .ext { width: 46px; height: 54px; border-radius: 4px; background: var(--sand); border: 1px solid var(--border-2); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font: 700 10.5px var(--font-mono); color: var(--maroon); }
.file .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.file .meta small { overflow-wrap: anywhere; }
.file { min-width: 0; }
.file .meta small { font-size: 11.5px; color: var(--muted-2); }
.file .meta b { font-size: 13.5px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.file .arrow { color: var(--maroon); font-weight: 700; font-size: 18px; }

.pdp-faq { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; }
.mobile-bar { display: none; }

/* Footer */
.weather { margin: 28px var(--px) 0; background: var(--ink); color: var(--on-dark); border-radius: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); overflow: hidden; }
.wx-now { padding: 22px 26px; display: flex; gap: 18px; align-items: center; border-inline-end: 1px solid var(--dark-line); }
.wx-sun { width: 56px; height: 56px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 10px rgba(233, 162, 59, .15); flex: none; }
@keyframes srPulse { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: no-preference) { .wx-sun { animation: srPulse 2.4s ease-in-out infinite alternate; } }
.wx-now .lbl { font-size: 12px; letter-spacing: .06em; color: var(--on-dark-muted); }
.wx-now .t { display: flex; align-items: baseline; gap: 10px; }
.wx-now .t b { font: 700 44px/1 var(--font-display); color: #fff; }
.wx-now .t span { font-size: 15px; font-weight: 600; }
.wx-now .line { font-size: 12.5px; color: var(--on-dark-muted); }
.wx-days { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wx-days .top { display: flex; justify-content: space-between; font-size: 12px; color: var(--on-dark-muted); }
.wx-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 2px; border-radius: 8px; }
.wx-day:first-child { background: rgba(255, 255, 255, .07); }
.wx-day .d { font-size: 12px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wx-day .s { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); }
.wx-day .hi { font-weight: 600; font-size: 15px; color: #fff; }
.wx-day .bar { position: relative; width: 6px; height: 48px; background: var(--dark-panel); border-radius: 3px; }
.wx-day .bar i { position: absolute; left: 0; right: 0; border-radius: 3px; background: linear-gradient(0deg, var(--on-dark-accent), var(--sun)); }
.wx-day .lo { font-size: 12.5px; color: var(--on-dark-muted); }
.foot { padding: 36px var(--px) 30px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; font-size: 14px; color: var(--text-3); }
.foot .col { display: flex; flex-direction: column; gap: 7px; }
.foot .col b { color: var(--ink); }
.foot a { color: var(--text-3); }
.foot a:hover { color: var(--maroon); }
.foot .logo-col img { height: 46px; width: auto; align-self: flex-start; }
.foot .contact a { color: var(--ink); font-weight: 600; }
.foot-bottom { border-top: 1px solid var(--border); padding: 16px var(--px) 24px; font-size: 12.5px; color: var(--muted-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating contact */
.fc { position: fixed; z-index: 70; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.fc-pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 40px; background: rgba(247, 241, 230, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--border-2); box-shadow: 0 16px 40px rgba(42, 26, 20, .24), 0 2px 6px rgba(42, 26, 20, .08); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.fc-pill.intro { transform: scale(1.04); }
@keyframes srPop { from { opacity: 0; transform: translateY(18px) scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .fc-pill { animation: srPop .5s cubic-bezier(.2, 1.3, .4, 1) 1s backwards; } }
.fc-pill a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 30px; color: #fff; transition: transform .25s cubic-bezier(.2, .8, .2, 1), filter .25s; }
.fc-pill a:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.fc-pill .wa { background: var(--whatsapp); }
.fc-pill .mail { background: var(--ink); }
.fc-pill .tel { background: var(--maroon); }
.fc-pill .lbl { max-width: 0; opacity: 0; margin-inline-start: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14px; transition: max-width .45s cubic-bezier(.2, .8, .2, 1), opacity .3s, margin .45s; }
.fc-pill:hover .lbl, .fc-pill.intro .lbl, .fc-pill:focus-within .lbl { max-width: 110px; opacity: 1; margin-inline-start: 8px; }
.fc-mob { display: none; }
.fc-mob .card-c { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(247, 241, 230, .97); border: 1px solid var(--border-2); box-shadow: 0 18px 44px rgba(42, 26, 20, .25); min-width: 190px; }
.fc-mob .card-c[hidden] { display: none; }
.fc-mob .card-c a { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 30px; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.fc-mob .card-c a:hover { background: var(--ink); color: #fff; }
.fc-mob .card-c .k { font: 600 12px var(--font-mono); color: var(--maroon); }
.fc-fab { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--sand); border: 1px solid var(--border-2); box-shadow: 0 12px 30px rgba(42, 26, 20, .25); display: flex; align-items: center; justify-content: center; }
.fc-fab img { width: 30px; height: 30px; object-fit: contain; }
.fc-fab i { position: absolute; top: 3px; right: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--whatsapp); border: 2px solid var(--sand); }
body.modal-open .fc, body.modal-open .fc-mob { display: none !important; }

/* Price-request modal */
.modal { border: 0; padding: 0; width: min(580px, calc(100% - 20px)); max-height: calc(100vh - 24px); overflow-y: auto; background: var(--sand); border-radius: 12px; box-shadow: var(--shadow-modal); color: var(--ink); }
.modal::backdrop { background: rgba(42, 26, 20, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-body { position: relative; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-top h2 { font: 600 24px/1.25 var(--font-display); margin: 0; }
.modal-top p { font-size: 14px; color: var(--text-3); margin: 4px 0 0; line-height: 1.55; }
.x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; font-size: 16px; }
.items { background: #fff; border: 1px solid var(--border); border-radius: 8px; max-height: 220px; overflow-y: auto; }
.items[hidden] { display: none; }
.item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--hair-2); }
.item .thumb { height: 44px; display: flex; align-items: center; justify-content: center; background: var(--sand); border-radius: 4px; overflow: hidden; }
.item .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.item .thumb b { color: var(--maroon); font-size: 13px; }
.item small { display: block; font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; }
.item strong { display: block; font-size: 14.5px; }
.item .sub { display: block; font-size: 12px; color: var(--muted); }
.qty { display: flex; align-items: center; border: 1px solid var(--border-2); border-radius: 4px; height: 34px; background: #fff; }
.qty button { width: 30px; height: 100%; border: 0; background: transparent; }
.qty output { min-width: 30px; text-align: center; font-size: 14px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--border-2); border-radius: 4px; padding: 12px; font-size: 15px; background: #fff; color: var(--ink); outline-color: var(--maroon); }
.field textarea { resize: vertical; min-height: 84px; }
.field .err { display: block; color: var(--maroon); font-size: 12.5px; margin-top: 4px; }
.field .err:empty { display: none; }
.tel-in { display: flex; border: 1px solid var(--border-2); border-radius: 4px; overflow: hidden; background: #fff; direction: ltr; }
.tel-in span { padding: 12px; background: var(--hair); font-weight: 600; }
.tel-in input { border: 0; border-radius: 0; flex: 1; min-width: 0; }
.hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.send-row { display: flex; gap: 10px; flex-wrap: wrap; }
.send-row .btn-primary { flex: 1; min-width: 200px; }
.send-row .btn-primary:disabled { background: var(--disabled); cursor: not-allowed; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 0; }
.form-error { color: var(--maroon); font-size: 13.5px; margin: 0; }
.form-error:empty { display: none; }
.sent { background: var(--ink); color: var(--on-dark); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sent[hidden] { display: none; }
.sent .tick { width: 44px; height: 44px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.sent b { font: 600 22px var(--font-display); color: #fff; }
.sent p { font-size: 14.5px; line-height: 1.65; margin: 0; }
.sent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.sent .wa { background: var(--whatsapp); color: #0b2a17; border-radius: 4px; padding: 11px 16px; font-weight: 700; }
.sent .closeb { border: 1px solid #57524a; background: transparent; color: #fff; border-radius: 4px; padding: 11px 16px; font-weight: 600; }

/* 404 */
.nf { padding: 80px var(--px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.nf h1 { font: 600 32px var(--font-display); margin: 0; }
.nf p { margin: 0; color: var(--text-3); max-width: 520px; }

/* Reveal on scroll (progressive: content is visible without JS) */
.js [data-stagger] > * { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-stagger].pending > * { opacity: 0; transform: translateY(22px); }
  .js [data-stagger].shown > * { animation: srRise .65s var(--ease) both; }
  .js [data-stagger].shown > *:nth-child(2) { animation-delay: 70ms; }
  .js [data-stagger].shown > *:nth-child(3) { animation-delay: 140ms; }
  .js [data-stagger].shown > *:nth-child(4) { animation-delay: 210ms; }
  .js [data-stagger].shown > *:nth-child(5) { animation-delay: 280ms; }
  .js [data-stagger].shown > *:nth-child(6) { animation-delay: 350ms; }
  .js [data-stagger].shown > *:nth-child(n+7) { animation-delay: 420ms; }
}
@keyframes srRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Tablet */
@media (max-width: 1099px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3, .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mega-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
  .mega-pic { display: none; }
}

/* Mobile */
@media (max-width: 759px) {
  .topbar .hours, .topbar .phone { display: none; }
  .header-main { gap: 10px; }
  .logo img { height: 36px; }
  .header-main .search, .header-main .btn-wa, .nav-wrap, .btn-quote-long { display: none; }
  .header-mobile-search { display: block; }
  .burger, .btn-quote-short { display: flex; }
  .header-main .spacer { flex: 1; }
  .hero { height: 640px; }
  .hero .grad, [dir="rtl"] .hero .grad { background: linear-gradient(0deg, rgba(42, 26, 20, .96) 0%, rgba(42, 26, 20, .8) 55%, rgba(42, 26, 20, .4) 100%); }
  .hero .copy { width: calc(100% - 36px); }
  .promises, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5, .grid-feat, .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .dl-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .space-card { height: 220px; }
  .band-dark { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .band-dark .actions { justify-content: flex-start; }
  .brands-band, .timeline-band, .faq-wrap, .pdp-faq, .overview, .weather { grid-template-columns: minmax(0, 1fr); }
  .brand-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-body { grid-template-columns: minmax(0, 1fr); }
  .filters-toggle { display: flex; }
  .filters:not(.open) { display: none; }
  .pdp-hero { grid-template-columns: minmax(0, 1fr); }
  .gallery .main { height: 300px; }
  .gallery .main img { padding: 18px; }
  .tabs .model, .tabs .btn { display: none; }
  .overview .short { font-size: 17px; }
  .specs dl { grid-template-columns: minmax(0, 1fr); }
  .spec-tools input { width: 100%; }
  .wx-now { border-inline-end: 0; border-bottom: 1px solid var(--dark-line); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .pic { height: 130px; }
  .mobile-bar { display: flex; position: sticky; bottom: 0; z-index: 35; background: var(--sand); border-top: 1px solid var(--border-2); padding: 10px 18px; gap: 10px; }
  .mobile-bar .btn-primary { flex: 1; height: 48px; font-size: 15px; font-weight: 700; }
  .mobile-bar .btn-outline { width: 48px; height: 48px; padding: 0; }
  .fc { display: none; }
  .fc-mob { display: flex; position: fixed; z-index: 70; bottom: 18px; left: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  body.has-mobile-bar .fc-mob { bottom: 86px; }
}

/* Content pages: projects, brands, blog, solutions, tenders, about */
.preview-note { background: var(--warning); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px var(--px); }
.lead-p { margin: 0 0 24px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); max-width: 760px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.project { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.project .pic { position: relative; height: 220px; }
.project .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project .sample { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(42, 26, 20, .85); color: #fff; font-size: 11.5px; border-radius: 3px; padding: 3px 8px; }
.project .body { padding: 16px 18px 18px; }
.project .tag { font-size: 12.5px; color: var(--maroon); font-weight: 600; margin-bottom: 6px; }
.project h2 { font: 600 18px/1.4 var(--font-display); margin: 0; }

.brand-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); transition: transform .3s, border-color .3s; }
.brand-card:hover { transform: translateY(-3px); border-color: var(--maroon); color: var(--ink); }
.brand-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.brand-card b { font-size: 17px; }
.brand-card .n { font: 500 12px var(--font-mono); color: var(--maroon); }
.brand-card .cats { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.tag { font-size: 12.5px; color: var(--maroon); font-weight: 600; }
.sample-pill { font: 500 11px var(--font-mono); color: var(--warning); border: 1px solid currentColor; border-radius: 30px; padding: 2px 8px; }
.post-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; color: var(--ink); transition: box-shadow .35s; }
.post-feature:hover { box-shadow: var(--shadow-card); color: var(--ink); }
.post-feature .pic { min-height: 340px; position: relative; }
.post-feature .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: 32px 34px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.post-feature .title { font: 600 30px/1.25 var(--font-display); text-wrap: balance; }
.post-feature .excerpt { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.post-feature .read { color: var(--maroon); font-weight: 600; font-size: 14.5px; }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.when { font-size: 13px; color: var(--muted); }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); height: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--ink); }
.post-card .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .title { font: 600 19px/1.35 var(--font-display); }
.post-card .excerpt { font-size: 14px; line-height: 1.65; color: var(--text-3); flex: 1; }

.post-head { padding-block: 22px 18px; max-width: 980px; }
.post-head h1 { font: 600 var(--h1)/1.15 var(--font-display); margin: 12px 0 12px; }
.post-head .excerpt { font-size: var(--lead); line-height: 1.6; color: var(--text-2); margin: 0 0 12px; max-width: 70ch; }
.post-head .byline { font-size: 13.5px; color: var(--muted); margin: 0; }
.post-cover { margin: 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 10px; display: block; }
.post-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 36px 24px; align-items: start; }
.post-body .prose h2 { scroll-margin-top: 150px; }
.post-aside { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.toc h2 { font: 600 16px var(--font-display); margin: 0 0 8px; }
.toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 14px; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--maroon); }
.stack-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.space-hero { position: relative; height: 460px; overflow: hidden; background: var(--ink); }
.space-hero .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42, 26, 20, .95) 0%, rgba(42, 26, 20, .35) 70%); }
.space-hero .txt { position: absolute; inset-inline: var(--px); bottom: 30px; color: #fff; max-width: 820px; }
.space-hero .kick { font-size: 14px; color: var(--on-dark-accent); font-weight: 600; margin-bottom: 8px; }
.space-hero h1 { font: 600 var(--h1)/1.15 var(--font-display); margin: 0 0 10px; }
.space-hero p { margin: 0; font-size: var(--lead); line-height: 1.7; color: #E8DFD2; }
.space-tabs { border-bottom: 1px solid var(--border); padding-block: 14px; }
.role { padding-block: 12px 28px; }
.role-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; border-top: 1px solid var(--border-2); padding-top: 16px; }
.role-head h3 { font: 600 21px var(--font-display); margin: 0; }
.role-head h3 span { font: 500 13px var(--font-mono); color: var(--maroon); }
.role-head a { font-weight: 600; font-size: 14px; white-space: nowrap; }
.survey { margin: 20px var(--px) 56px; background: var(--maroon); color: #fff; border-radius: 10px; padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.survey b { display: block; font: 600 24px/1.35 var(--font-display); margin-bottom: 6px; }
.survey p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .92; max-width: 640px; }
.survey .btn-light { color: var(--maroon); }

.boq-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.boq-form { background: #fff; border: 1.5px dashed var(--disabled); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.boq-form textarea { border: 1px solid var(--border-2); border-radius: 4px; padding: 14px; font: 400 14.5px/1.7 var(--font-mono); background: #FBF8F2; resize: vertical; width: 100%; }
.boq-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-pick { font-size: 13.5px; color: var(--text-3); display: flex; gap: 10px; align-items: center; cursor: pointer; }
.file-pick span:first-child { border: 1px solid var(--ink); border-radius: 4px; padding: 8px 12px; font-weight: 600; color: var(--ink); }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-pick:focus-within span:first-child { outline: 2px solid var(--maroon); outline-offset: 2px; }
.boq-how { background: var(--sand-2); border-radius: 8px; padding: 20px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.boq-results { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.boq-top { padding: 14px 18px; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.boq-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) minmax(0, 1fr) 60px; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--hair-2); align-items: center; }
.boq-labels { font-size: 12px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; padding-block: 10px; }
.boq-row .line { font: 400 13px/1.5 var(--font-mono); color: var(--text-3); }
.boq-row .best { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.boq-row .thumb { width: 56px; height: 46px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--sand); border-radius: 4px; overflow: hidden; }
.boq-row .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.boq-row .thumb b { color: var(--maroon); font-size: 13px; }
.boq-row small { display: block; font-size: 11.5px; color: var(--muted-2); font-weight: 600; }
.boq-row .sub { display: block; font-size: 12px; color: var(--muted); }
.boq-row .none { font-size: 13.5px; color: var(--warning); }
.boq-row .alts { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; }
.boq-row .qty-l { font: 600 14px var(--font-mono); }

.about-grid { padding-block: 28px 56px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.about-main { display: flex; flex-direction: column; gap: 22px; }
.about-p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.reach { margin: 0; font-size: 15px; line-height: 1.9; }
.reach a { color: var(--ink); font-weight: 600; }
.hours-line { margin: 0; font-size: 14px; line-height: 1.9; color: var(--text-2); }
.about-side { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 150px; }
.contact-card { position: relative; background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.contact-card h2 { font: 600 21px var(--font-display); margin: 0; }
.contact-card select { width: 100%; border: 1px solid var(--border-2); border-radius: 4px; padding: 12px; font-size: 15px; background: #fff; }
.cb-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sent-inline { background: var(--sand-2); border-radius: 6px; padding: 16px; font-size: 15px; line-height: 1.6; }

@media (max-width: 1099px) {
  .post-body { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
}
@media (max-width: 759px) {
  .grid-2, .post-feature, .boq-grid, .boq-row, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .boq-labels { display: none; }
  .post-feature .pic { min-height: 220px; }
  .post-feature .body { padding: 22px; }
  .post-feature .title { font-size: 24px; }
  .space-hero { height: 420px; }
  .survey { padding: 26px 22px; }
}
html[lang="ar"] .toc ol, html[lang="ar"] .prose ol { list-style-type: arabic-indic; }
