/* ==========================================================================
   QIALUM — Foshan Qi Aluminum Decorative Materials Co., Ltd.
   Architectural aluminium fabrication. Hand-authored token system.
   Palette derived from the real product photography (graphite + bronze).
   ========================================================================== */

:root {
  /* brand ---------------------------------------------------------------- */
  --brand:            #1d2327;
  --brand-700:        #272f35;
  --brand-600:        #38434b;
  --brand-500:        #4d5a64;
  --brand-400:        #6b7a85;
  --accent:           #a9793f;
  --accent-600:       #946a36;
  --accent-500:       #b8894a;
  --accent-300:       #d9b98a;
  --accent-100:       #f2e6d5;

  /* neutrals ------------------------------------------------------------- */
  --ink:              #15191c;
  --ink-2:            #3b444b;
  --ink-3:            #5f6a72;
  --ink-4:            #8b959c;
  --line:             #e2e5e8;
  --line-2:           #eef0f2;
  --bg:               #ffffff;
  --bg-2:             #f7f8f9;
  --bg-3:             #eff1f3;
  --bg-dark:          #15191c;
  --bg-dark-2:        #1d2327;

  /* status --------------------------------------------------------------- */
  --wa:               #25d366;
  --wa-dark:          #1da851;
  --ok:               #2f7d52;
  --warn:             #9a6a1a;

  /* type ----------------------------------------------------------------- */
  --ff-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-head: "Space Grotesk", "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-xs:            .75rem;
  --fs-sm:            .8125rem;
  --fs-base:          .9375rem;
  --fs-md:            1.0625rem;
  --fs-lg:            1.25rem;
  --fs-xl:            1.5rem;
  --fs-2xl:           2rem;
  --fs-3xl:           2.75rem;
  --fs-4xl:           3.5rem;
  --lh-tight:         1.15;
  --lh-snug:          1.35;
  --lh-base:          1.65;

  /* space ---------------------------------------------------------------- */
  --s-1:              .25rem;
  --s-2:              .5rem;
  --s-3:              .75rem;
  --s-4:              1rem;
  --s-5:              1.5rem;
  --s-6:              2rem;
  --s-7:              3rem;
  --s-8:              4rem;
  --s-9:              6rem;

  /* shape ---------------------------------------------------------------- */
  --r-sm:             3px;
  --r:                6px;
  --r-lg:             12px;
  --r-pill:           999px;
  --shadow-sm:        0 1px 2px rgba(21,25,28,.06), 0 1px 3px rgba(21,25,28,.04);
  --shadow:           0 4px 12px rgba(21,25,28,.08), 0 2px 4px rgba(21,25,28,.04);
  --shadow-lg:        0 18px 44px rgba(21,25,28,.16);
  --ring:             0 0 0 3px rgba(169,121,63,.28);

  /* layout --------------------------------------------------------------- */
  --wrap:             1240px;
  --wrap-narrow:      820px;
  --header-h:         68px;
  --topbar-h:         34px;
  --ease:             cubic-bezier(.4, 0, .2, 1);
  --dur:              .22s;
}

/* --------------------------------------------------------------------------
   reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: var(--lh-tight); margin: 0 0 var(--s-3); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p  { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-inline-start: 1.15rem; }
li { margin-bottom: var(--s-2); }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

/* language direction ------------------------------------------------------ */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .u-flip { transform: scaleX(-1); }
html[lang="ja"], html[lang="ko"], html[lang="zh"] { --ff-head: var(--ff-sans); }
html[lang="ja"] body { font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", var(--ff-sans); }
html[lang="ko"] body { font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", var(--ff-sans); }
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", var(--ff-sans); line-height: 1.85; }

/* --------------------------------------------------------------------------
   layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--s-8); }
.section-tight { padding-block: var(--s-7); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-alt { background: var(--bg-2); }
.grid { display: grid; gap: var(--s-5); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; gap: var(--s-3); align-items: center; }
.between { justify-content: space-between; }
.wrapf { flex-wrap: wrap; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
  display: block;
}
.section-dark .eyebrow { color: var(--accent-300); }
.lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 68ch; }
.section-dark .lead { color: #c9d0d5; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: .72rem 1.35rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-weight: 600; font-size: var(--fs-base);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-600); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-sm { padding: .5rem 1rem; font-size: var(--fs-sm); }
.btn-block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   top bar + header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand);
  color: #cfd6db;
  font-size: var(--fs-xs);
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar a { color: #cfd6db; }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .4; margin-inline: var(--s-2); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s-2); margin-inline-start: auto; flex-wrap: nowrap; }
.nav > li { list-style: none; margin: 0; position: relative; }
.nav-list > li { list-style: none; margin: 0; }
.nav-list { display: flex; align-items: center; gap: var(--s-1); margin: 0; padding: 0; list-style: none; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem; border-radius: var(--r-sm);
  font-size: var(--fs-base); font-weight: 500; color: var(--ink-2);
  white-space: nowrap; transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); background: var(--bg-2); }
.nav-cta { margin-inline-start: var(--s-3); }
.caret { width: 9px; height: 9px; transition: transform var(--dur) var(--ease); }
.has-mega:hover .caret { transform: rotate(180deg); }

/* mega menu --------------------------------------------------------------- */
.mega {
  position: absolute; inset-inline-end: 0; top: calc(100% + 1px);
  width: min(96vw, 1060px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  max-height: min(72vh, 620px); overflow-y: auto; overscroll-behavior: contain;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.mega-item { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-2); border-radius: var(--r); transition: background var(--dur) var(--ease); min-width: 0; }
.mega-item:hover { background: var(--bg-2); }
.mega-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); flex: 0 0 52px; background: var(--bg-3); }
.mega-item .t { font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; overflow-wrap: anywhere; }
.mega-item .n { font-size: var(--fs-xs); color: var(--ink-4); }
.mega-foot { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); flex-wrap: wrap; }

/* mobile nav -------------------------------------------------------------- */
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .45rem .6rem; margin-inline-start: auto; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.open { display: block; }
.mnav a { display: block; padding: .8rem var(--s-4); border-bottom: 1px solid var(--line-2); font-weight: 500; }
.mnav .sub a { padding-inline-start: var(--s-6); font-weight: 400; color: var(--ink-2); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   hero
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: clamp(460px, 68vh, 660px); display: grid; isolation: isolate; overflow: hidden; }
.hero-slide {
  grid-area: 1 / 1; position: relative;
  opacity: 0; transition: opacity 1.1s var(--ease);
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(21,25,28,.86) 0%, rgba(21,25,28,.62) 46%, rgba(21,25,28,.24) 100%);
}
.hero-body { grid-area: 1 / 1; position: relative; z-index: 2; display: flex; align-items: center; }
.hero-content { max-width: 40rem; color: #fff; padding-block: var(--s-8); }
.hero h1 { color: #fff; font-size: var(--fs-4xl); margin-bottom: var(--s-4); }
.hero p { color: #dfe4e8; font-size: var(--fs-md); margin-bottom: var(--s-5); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: var(--s-5); inset-inline-start: 50%; transform: translateX(-50%); display: flex; gap: var(--s-2); z-index: 3; }
.hero-dot { width: 30px; height: 3px; border: 0; padding: 0; border-radius: var(--r-pill); background: rgba(255,255,255,.4); transition: background var(--dur) var(--ease); }
.hero-dot.active { background: var(--accent-300); }
.hero-facts { display: flex; gap: var(--s-6); flex-wrap: wrap; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.2); }
.hero-fact b { display: block; font-family: var(--ff-head); font-size: var(--fs-xl); color: #fff; }
.hero-fact span { font-size: var(--fs-xs); color: #b9c1c7; text-transform: uppercase; letter-spacing: .08em; }

/* page banner (inner pages) ---------------------------------------------- */
.page-head { background: var(--bg-dark); color: #fff; padding-block: var(--s-7); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--s-2); }
.page-head p { color: #c3cace; max-width: 70ch; margin: 0; }

/* breadcrumb -------------------------------------------------------------- */
.crumb { font-size: var(--fs-xs); color: var(--ink-4); padding-block: var(--s-3); display: flex; gap: .4rem; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.page-head .crumb { color: #97a1a8; margin-bottom: var(--s-3); padding: 0; }
.page-head .crumb a { color: #b8c0c6; }

/* --------------------------------------------------------------------------
   cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--accent-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-3), var(--line)); color: var(--ink-4); font-size: var(--fs-xs); text-align: center; padding: var(--s-3); font-family: var(--ff-mono); }
.card-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.card-cat { font-family: var(--ff-mono); font-size: var(--fs-xs); color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-family: var(--ff-head); font-weight: 600; font-size: var(--fs-base); line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.card-foot { margin-top: auto; padding-top: var(--s-2); font-size: var(--fs-xs); color: var(--ink-4); display: flex; justify-content: space-between; gap: var(--s-2); }

.cat-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 210px; display: flex; align-items: flex-end; color: #fff; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,25,28,.05) 30%, rgba(21,25,28,.85) 100%); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card-body { position: relative; z-index: 2; padding: var(--s-4); width: 100%; }
.cat-card-body h3 { color: #fff; margin: 0 0 .15rem; font-size: var(--fs-md); }
.cat-card-body span { font-size: var(--fs-xs); color: #d3d9dd; }

/* --------------------------------------------------------------------------
   spec table / detail
   -------------------------------------------------------------------------- */
.spec { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec tr:nth-child(odd) { background: var(--bg-2); }
.spec th, .spec td { text-align: start; padding: .7rem var(--s-4); font-size: var(--fs-sm); vertical-align: top; border-bottom: 1px solid var(--line-2); }
.spec th { width: 34%; color: var(--ink-3); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

.gallery { display: grid; gap: var(--s-3); }
.gallery-main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer; transition: border-color var(--dur) var(--ease); }
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--accent); }

.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-7); align-items: start; }
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { position: relative; padding-inline-start: 1.5rem; margin-bottom: var(--s-3); font-size: var(--fs-base); color: var(--ink-2); }
.bullets li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

.pill { display: inline-block; padding: .25rem .6rem; border-radius: var(--r-pill); background: var(--bg-3); color: var(--ink-2); font-size: var(--fs-xs); font-family: var(--ff-mono); }
.pill-accent { background: var(--accent-100); color: var(--accent-600); }

/* facts / stats ----------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stat { padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.section-dark .stat { background: var(--bg-dark-2); border-color: rgba(255,255,255,.1); }
.stat b { display: block; font-family: var(--ff-head); font-size: var(--fs-2xl); color: var(--accent); line-height: 1; margin-bottom: var(--s-2); }
.stat span { font-size: var(--fs-sm); color: var(--ink-3); }
.section-dark .stat span { color: #aeb7bd; }

/* callout ----------------------------------------------------------------- */
.callout { border-inline-start: 3px solid var(--accent); background: var(--bg-2); padding: var(--s-4) var(--s-5); border-radius: 0 var(--r) var(--r) 0; }
.callout p:last-child { margin-bottom: 0; }

/* cta band ---------------------------------------------------------------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: var(--s-7); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: var(--s-2); }
.cta-band p { color: #c2cad0; margin: 0; max-width: 54ch; }

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #aeb7bd; padding-block: var(--s-8) var(--s-5); margin-top: var(--s-8); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s-4); font-family: var(--ff-mono); font-weight: 600; }
.site-footer a:hover { color: var(--accent-300); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.footer-logo img { height: 42px; margin-bottom: var(--s-4); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: var(--fs-xs); color: #8d979e; }
.lang-row { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.lang-row a { padding: .2rem .55rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-sm); font-size: var(--fs-xs); }
.lang-row a[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --------------------------------------------------------------------------
   floating contact
   -------------------------------------------------------------------------- */
.float-contact { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: var(--s-2); }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; fill: #fff; }
.float-wa { background: var(--wa); }
.float-mail { background: var(--accent); }

/* pagination / listing ---------------------------------------------------- */
.toolbar { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.chip { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-sm); color: var(--ink-2); background: #fff; }
.chip:hover, .chip.active { border-color: var(--accent); color: var(--accent); background: var(--accent-100); }

.cat-block { margin-bottom: var(--s-8); }
.cat-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); flex-wrap: wrap; }

/* article ----------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose img { border-radius: var(--r-lg); margin-block: var(--s-5); }
.toc { border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); background: var(--bg-2); margin-bottom: var(--s-6); }
.toc ol { margin: 0; padding-inline-start: 1.1rem; }
.toc li { font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .mega { width: min(94vw, 900px); }
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  :root { --fs-4xl: 3rem; --fs-3xl: 2.35rem; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .burger { display: block; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  :root { --fs-4xl: 2.5rem; --fs-3xl: 2rem; --fs-2xl: 1.6rem; }
  .hero { min-height: 480px; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .cta-band { padding: var(--s-5); }
  .section { padding-block: var(--s-7); }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
  .wrap, .wrap-narrow { width: calc(100% - 2rem); }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-facts { gap: var(--s-4); }
  .float-contact { bottom: 72px; inset-inline-end: 12px; }
  .float-btn { width: 46px; height: 46px; }
  :root { --fs-4xl: 2.1rem; --fs-3xl: 1.8rem; }
}

@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}

@media print {
  .site-header, .topbar, .float-contact, .site-footer, .hero-dots { display: none !important; }
  body { color: #000; }
  .card { break-inside: avoid; }
}

/* hero slides carry real <img> for crawlers and for LCP priority */
.hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide { background: var(--bg-dark); }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.mega-all { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.mega-all:hover { text-decoration: underline; }

/* bidi isolation so phone numbers, dimensions and counts read correctly in RTL */
bdi { unicode-bidi: isolate; }
[dir="rtl"] .spec td, [dir="rtl"] .hero-fact b, [dir="rtl"] .stat b { unicode-bidi: plaintext; }


/* cify-nav-bullets-fix-20260924 */
nav ul, .nav ul, .nav-list, .nav-ul, .nav__list, ul.nav {
  list-style: none;
}
nav li, .nav li, .nav-list > li, .nav-ul > li, .nav__list > li, ul.nav > li {
  list-style: none;
}
