/* ==========================================================================
   Aspire Dream Steel Trading LLC
   ========================================================================== */

:root {
  --bg: #0b0d10;
  --bg-2: #101419;
  --panel: #161b21;
  --panel-2: #1c222a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9edf1;
  --muted: #9aa5b1;
  --molten: #ff6b1a;
  --molten-2: #ffb347;
  --molten-glow: rgba(255, 107, 26, 0.35);
  --steel: #8fa3b8;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --light-bg: #eef1f4;
  --light-panel: #ffffff;
  --light-text: #14181d;
  --light-muted: #56616d;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --font-head: 'Barlow Condensed', 'Cairo', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-2: #c7d0d9;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-3: rgba(255, 255, 255, 0.08);
  --glass-4: rgba(255, 255, 255, 0.12);
  --grid-line: rgba(255, 255, 255, 0.045);
  --placeholder: #6c7783;
  --footer-bg: #07090b;
  --header-bg: rgba(11, 13, 16, 0.82);
  --menu-bg: rgba(11, 13, 16, 0.97);
  --float-bg: rgba(22, 27, 33, 0.78);
  --tag-bg: rgba(11, 13, 16, 0.7);
  --sunken: rgba(11, 13, 16, 0.6);
  --hero-top: #0d1014;
  --viewer-top: #1c232b;
  --viewer-bottom: #0b0d10;
  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f3f5f7;
  --bg-2: #e9edf1;
  --panel: #ffffff;
  --panel-2: #f8fafb;
  --line: rgba(20, 24, 29, 0.09);
  --line-2: rgba(20, 24, 29, 0.16);
  --text: #14181d;
  --muted: #56616d;
  --text-2: #36414c;
  --molten-2: #c0540a;
  --molten-glow: rgba(255, 107, 26, 0.28);
  --glass: rgba(20, 24, 29, 0.03);
  --glass-2: rgba(20, 24, 29, 0.05);
  --glass-3: rgba(20, 24, 29, 0.08);
  --glass-4: rgba(20, 24, 29, 0.12);
  --grid-line: rgba(20, 24, 29, 0.06);
  --placeholder: #8a95a1;
  --footer-bg: #e4e8ec;
  --header-bg: rgba(255, 255, 255, 0.86);
  --menu-bg: rgba(243, 245, 247, 0.98);
  --float-bg: rgba(255, 255, 255, 0.88);
  --tag-bg: rgba(255, 255, 255, 0.88);
  --sunken: #eef1f4;
  --hero-top: #ffffff;
  --viewer-top: #ffffff;
  --viewer-bottom: #dfe5eb;
  --light-bg: #ffffff;
  color-scheme: light;
}
:root[data-theme='light'] .hero-beam { filter: drop-shadow(0 30px 30px rgba(20, 24, 29, 0.25)); }
:root[data-theme='light'] .float-chip { box-shadow: 0 18px 40px -20px rgba(20, 24, 29, 0.35); }
:root[data-theme='light'] .toast { background: #14181d; color: #fff; }
:root[data-theme='light'] .card:hover { box-shadow: 0 30px 60px -30px rgba(20, 24, 29, 0.35), 0 0 0 1px rgba(255, 107, 26, 0.15); }
:root[data-theme='light'] .about-points div,
:root[data-theme='light'] .why-card,
:root[data-theme='light'] .review { background: #f3f5f7; }
:root[data-theme='light'] .btn-ghost-dark { background: #f3f5f7; }

/* Theme toggle */
.theme-toggle {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  border: 1.5px solid var(--line-2); background: var(--glass); transition: border-color 0.25s;
}
.theme-toggle:hover { border-color: var(--molten); }
.theme-toggle svg {
  position: absolute; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}
.theme-toggle .moon { transform: translateY(0) rotate(0); }
.theme-toggle .sun { transform: translateY(140%) rotate(90deg); opacity: 0; color: var(--molten); }
:root[data-theme='light'] .theme-toggle .moon { transform: translateY(-140%) rotate(-90deg); opacity: 0; }
:root[data-theme='light'] .theme-toggle .sun { transform: none; opacity: 1; }
.theme-fade *,
.theme-fade *::before,
.theme-fade *::after { transition: background-color 0.5s, color 0.5s, border-color 0.5s !important; }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--molten); color: #fff; }

:focus-visible { outline: 2px solid var(--molten-2); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  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-link {
  position: fixed; top: 10px; left: 10px; z-index: 10001;
  padding: 10px 16px; border-radius: 10px; background: var(--molten); color: #fff;
  transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.sprite { position: absolute; }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
  isolation: isolate;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }

.btn-molten {
  color: #fff;
  background: linear-gradient(120deg, var(--molten), #ff8a2b 50%, var(--molten-2));
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px var(--molten-glow);
}
.btn-molten:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(255, 107, 26, 0.6); }

.btn-outline { border-color: var(--line-2); color: var(--text); background: var(--glass); }
.btn-outline:hover { border-color: var(--molten); color: var(--molten-2); }

.btn-ghost { color: var(--text); background: var(--glass-2); }
.btn-ghost:hover { background: var(--glass-4); }

.btn-whatsapp { color: #fff; background: var(--wa); box-shadow: 0 10px 28px -12px rgba(37, 211, 102, 0.7); }
.btn-whatsapp:hover { background: #1fbe5b; }
.btn-whatsapp svg { fill: currentColor; stroke: none; }

.btn:active { transform: scale(0.97); }

/* ---------- Cursor ---------- */

/* A popover, so the cursor sits in the browser's top layer and also shows over open dialogs. */
.cursor-layer {
  position: fixed; inset: 0 auto auto 0; width: 0; height: 0; margin: 0; padding: 0; border: 0;
  background: none; overflow: visible; pointer-events: none;
}
.cursor-layer::backdrop { display: none; }
.cursor-dot,
.cursor-ring { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.has-cursor.cursor-visible .cursor-dot,
.has-cursor.cursor-visible .cursor-ring { opacity: 1; }

.cursor-dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--molten-2);
  box-shadow: 0 0 12px 2px var(--molten-glow);
}
.cursor-ring { width: 0; height: 0; }
.cursor-circle {
  position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255, 179, 71, 0.55);
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor-label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6);
  font: 700 11px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity 0.25s, transform 0.35s var(--ease); white-space: nowrap;
}
.cursor-ring.is-hover .cursor-circle { transform: scale(1.5); background: rgba(255, 107, 26, 0.12); border-color: var(--molten); }
.cursor-ring.has-label .cursor-circle { transform: scale(2.1); background: rgba(255, 107, 26, 0.88); border-color: transparent; }
.cursor-ring.has-label .cursor-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor-ring.is-down .cursor-circle { transform: scale(0.75); }
.cursor-ring.is-text { opacity: 0 !important; }
.has-cursor.cursor-text .cursor-dot { opacity: 0; }

.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor label,
.has-cursor [data-cursor],
.has-cursor .card { cursor: none; }
.has-cursor input,
.has-cursor textarea,
.has-cursor select { cursor: auto; }

.spark-canvas { position: fixed; inset: 0; z-index: 9999; pointer-events: none; width: 100%; height: 100%; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  box-shadow: 0 0 12px var(--molten-glow);
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed; inset: 0; z-index: 10002; display: grid; place-items: center; background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loaded .preloader { opacity: 0; visibility: hidden; }
/* Safety net: the loading screen also fades out on its own, in case the page script cannot run
   (a very old browser, a blocked file), so the page is never stuck behind it. */
.preloader { animation: preloader-failsafe 0.6s 6s forwards; }
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: grid; justify-items: center; gap: 18px; }
.preloader-inner img {
  width: 110px; height: 110px; padding: 8px; border-radius: 22px; object-fit: contain; background: #fff;
  box-shadow: 0 20px 50px -18px var(--molten-glow); animation: spin-in 1.2s var(--ease) both;
}
.preloader-bar { width: 200px; height: 4px; border-radius: 4px; background: var(--panel-2); overflow: hidden; }
.preloader-bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  transform-origin: 0 50%; animation: fill 1.1s var(--ease) forwards;
  box-shadow: 0 0 16px var(--molten);
}
.preloader p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin-in { from { transform: rotate(-90deg) scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 58px; height: 58px; padding: 4px; border-radius: 14px; object-fit: contain; background: #fff;
  box-shadow: 0 6px 18px -8px rgba(255, 107, 26, 0.55); transition: transform 0.6s var(--ease);
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.08); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 29px; letter-spacing: 0.04em; }
.brand-text small { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; color: var(--molten-2); margin-top: 5px; }

.site-header .container { max-width: 1500px; }
.main-nav { margin-left: auto; display: flex; gap: 2px; }
.nav-link {
  position: relative; padding: 10px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color 0.25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--text); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.enquiry-toggle {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-2); background: var(--glass); transition: border-color 0.25s, transform 0.3s var(--ease);
}
.enquiry-toggle:hover { border-color: var(--molten); }
.enquiry-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.enquiry-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
  background: var(--molten); color: #fff; font-size: 12px; font-weight: 700; line-height: 21px; text-align: center;
  transform: scale(0); transition: transform 0.35s var(--ease);
}
.enquiry-count.has-items { transform: scale(1); }
.enquiry-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Opacity/transform only, so opening the menu stays smooth (no full-screen blur or clip-path repaint). */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; padding: calc(var(--header-h) + 24px) 24px 40px; overflow-y: auto;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 26px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s;
  will-change: opacity, transform;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0s; }
.mobile-menu nav { display: grid; gap: 10px; }
.mobile-menu nav a {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--panel);
  font-family: var(--font-head); font-size: clamp(30px, 6vw, 44px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text); transition: color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
  opacity: 0; transform: translateY(14px);
}
.mobile-menu nav a::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--molten), #ffb347);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.4s var(--ease);
}
.mobile-menu nav a { isolation: isolate; }
.mobile-menu nav a::after {
  content: '→'; font-family: var(--font-body); font-size: 0.6em; opacity: 0; transform: translateX(-14px);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible,
.mobile-menu nav a:active { color: #1a0d03; border-color: transparent; }
.mobile-menu nav a:hover::before,
.mobile-menu nav a:focus-visible::before,
.mobile-menu nav a:active::before { transform: scaleX(1); }
.mobile-menu nav a:hover::after,
.mobile-menu nav a:focus-visible::after,
.mobile-menu nav a:active::after { opacity: 1; transform: none; }
.mobile-menu nav a.is-current { border-color: var(--molten); }
/* Links slide in one after another when the menu opens. */
.menu-open .mobile-menu nav a { opacity: 1; transform: none; transition: color 0.3s, border-color 0.3s, opacity 0.35s ease var(--d, 0ms), transform 0.45s var(--ease) var(--d, 0ms); }
.mobile-menu nav a:nth-child(1) { --d: 40ms; }
.mobile-menu nav a:nth-child(2) { --d: 80ms; }
.mobile-menu nav a:nth-child(3) { --d: 120ms; }
.mobile-menu nav a:nth-child(4) { --d: 160ms; }
.mobile-menu nav a:nth-child(5) { --d: 200ms; }
.mobile-menu nav a:nth-child(6) { --d: 240ms; }
.mobile-menu nav a:nth-child(7) { --d: 280ms; }
.mobile-menu nav a:nth-child(8) { --d: 320ms; }
.mobile-menu nav a:nth-child(9) { --d: 360ms; }
.mobile-menu .btn { align-self: flex-start; }
/* Pause page animations hidden behind the open menu. */
.menu-open main *,
.menu-open main *::before,
.menu-open main *::after { animation-play-state: paused !important; }

/* ---------- Shared section bits ---------- */

.section { position: relative; padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: 0.005em; margin-bottom: 18px;
}
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--molten-2);
}
.kicker span {
  display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px;
  border: 1px solid rgba(255, 179, 71, 0.4); font-size: 12px; letter-spacing: 0.05em;
}
.molten-text {
  background: linear-gradient(90deg, var(--molten), var(--molten-2), #ffd58a, var(--molten-2), var(--molten));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear 2;
}
/* The shimmer plays when the heading scrolls into view, then rests, so the page isn't repainting
   headings nobody is looking at. */
.js [data-reveal]:not(.in) .molten-text { animation-play-state: paused; }
@keyframes shimmer { to { background-position: -250% 0; } }

/* Reveal on scroll */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(143, 163, 184, 0.10), transparent 60%),
    linear-gradient(180deg, var(--hero-top), var(--bg));
  --mx: 70%; --my: 40%;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 107, 26, 0.16), transparent 60%);
  transition: background 0.2s;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass);
  font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 28px;
}
/* One line of text; if it must wrap, it breaks before the location, never inside it. */
.eyebrow-text { min-width: 0; line-height: 1.4; }
.eyebrow-text > span { white-space: nowrap; }
.pulse-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.hero-title {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.6rem, 8.4vw, 7.4rem); line-height: 0.9; letter-spacing: 0.005em; margin-bottom: 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .d1 { animation-delay: 0.55s !important; }
.hero-title .d2 { animation-delay: 0.68s !important; }
.hero-title .d3 { animation: rise 1.1s var(--ease) 0.81s forwards, shimmer 6s linear 2s 2; }
@keyframes rise { to { transform: none; } }

.hero-sub { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 36px; opacity: 0; animation: fade-up 1s var(--ease) 1s forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; opacity: 0; animation: fade-up 1s var(--ease) 1.12s forwards; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 36px; opacity: 0; animation: fade-up 1s var(--ease) 1.24s forwards; }
.hero-trust li { display: grid; padding-left: 16px; border-left: 2px solid var(--molten); }
.hero-trust strong { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.1; }
.hero-trust .star { color: var(--molten-2); }
.hero-trust span { font-size: 14px; color: var(--muted); }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; height: min(600px, 70vh); min-height: 420px; opacity: 0; animation: fade-in 1.4s var(--ease) 0.6s forwards; }
@keyframes fade-in { to { opacity: 1; } }
.beam-stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1100px; }
.beam-ring {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(255, 179, 71, 0.25);
  animation: rotate 40s linear infinite;
}
.beam-ring::before {
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.18), transparent 65%);
  filter: blur(10px);
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-beam {
  position: relative; width: 82%; max-width: 520px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  animation: hover-float 6s ease-in-out infinite;
}
@keyframes hover-float { 50% { translate: 0 -14px; } }

.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding-block: 8px; padding-inline: 8px 14px; border-radius: 16px;
  background: var(--float-bg); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  animation: hover-float 7s ease-in-out infinite;
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 0.6s var(--ease), scale 0.3s var(--ease), border-color 0.3s;
}
/* Each chip opens that product's details. */
.float-chip::after { content: '\2192'; margin-inline-start: -2px; color: var(--molten-2); font-weight: 700; transition: translate 0.3s var(--ease); }
[dir='rtl'] .float-chip::after { content: '\2190'; }
.float-chip:hover { scale: 1.06; border-color: var(--molten); }
.float-chip:hover::after { translate: 3px 0; }
[dir='rtl'] .float-chip:hover::after { translate: -3px 0; }
/* One fixed-size slot, so a drawing (an SVG with no size of its own) shrinks to fit the box
   instead of growing with the box width and spilling out. Same for .card-visual. */
.chip-render { width: 56px; height: 46px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.chip-render svg,
.chip-render img { width: 100%; height: 100%; object-fit: contain; }
.chip-a { top: 6%; left: 2%; animation-delay: -1s; }
.chip-b { bottom: 14%; left: -4%; animation-delay: -3s; }
.chip-c { top: 22%; right: -2%; animation-delay: -5s; }
.hero-badge {
  position: absolute; bottom: 4%; right: 6%; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: linear-gradient(120deg, var(--molten), var(--molten-2)); color: #1a0d03;
  box-shadow: 0 16px 40px -14px var(--molten);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #1a0d03; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px;
  border: 2px solid var(--line-2); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--molten-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */

.ticker {
  position: relative; z-index: 2; overflow: hidden; padding: 16px 0;
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  transform: rotate(-1.6deg) scale(1.03); margin: -10px 0 0;
  box-shadow: 0 20px 50px -20px var(--molten-glow);
}
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--font-head); font-weight: 800; font-size: 26px; text-transform: uppercase; letter-spacing: 0.04em; color: #1a0d03; white-space: nowrap; }
.ticker i { font-style: normal; color: rgba(26, 13, 3, 0.55); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */

.stats { padding: 90px 0 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 28px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.stat::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 40%;
  background: linear-gradient(90deg, var(--molten), transparent);
}
.stat strong { display: block; font-family: var(--font-head); font-size: 58px; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat em { font-style: normal; color: var(--molten-2); }
.stat > span { color: var(--muted); font-size: 15px; }

/* ---------- Products ---------- */

.products { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }

.product-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
  border: 1.5px solid var(--line-2); background: var(--glass);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease);
}
.chip:hover { color: var(--text); border-color: rgba(255, 179, 71, 0.5); }
.chip.is-active { color: #1a0d03; background: linear-gradient(120deg, var(--molten), var(--molten-2)); border-color: transparent; font-weight: 600; }
.chip .count { opacity: 0.6; margin-left: 4px; font-size: 13px; }

.search-box {
  display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 50px; min-width: 300px; border-radius: 999px;
  background: var(--panel); border: 1.5px solid var(--line-2); transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within { border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15); }
.search-box svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; }
.search-box input::placeholder { color: var(--placeholder); }

.result-count { color: var(--muted); font-size: 14px; margin: 0 0 22px; }

.grid-fallback { grid-column: 1 / -1; color: var(--muted); }
.grid-fallback a { color: var(--molten-2); font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
  animation: card-in 0.6s var(--ease) backwards;
  animation-delay: var(--d, 0ms);
}
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--px, 50%) var(--py, 50%), rgba(255, 140, 50, 0.16), transparent 45%);
}
.card:hover { --lift: -6px; border-color: rgba(255, 179, 71, 0.38); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 107, 26, 0.12); }
.card:hover::before { opacity: 1; }
.card.is-hidden { display: none; }

.card-visual {
  position: relative; height: 210px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center;
  padding: 22px 30px 14px;
  background:
    radial-gradient(circle at 50% 60%, rgba(143, 163, 184, 0.14), transparent 62%),
    linear-gradient(180deg, var(--glass), transparent);
  border-bottom: 1px solid var(--line);
}
.card-visual svg { width: 100%; height: 100%; transition: transform 0.7s var(--ease); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.7s var(--ease); }
.card:hover .card-visual svg { transform: scale(1.07) rotate(-2deg); }
.card:hover .card-visual img { transform: scale(1.06); }
.card-visual .render-img { position: static; object-fit: contain; }
.card:hover .card-visual .render-img { transform: scale(1.07) rotate(-2deg); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--tag-bg); border: 1px solid var(--line-2); color: var(--molten-2);
  backdrop-filter: blur(6px);
}
/* Camera badge on cards with several photos. */
.card-photos {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1;
  background: rgba(11, 13, 16, 0.62); color: #fff; backdrop-filter: blur(6px);
}
.card-photos svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
[dir='rtl'] .card-photos { right: auto; left: 12px; }
.card-body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-body h3 { font-family: var(--font-head); font-size: 27px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 6px; }
.card-body > p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips li { padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; background: var(--glass-2); border: 1px solid var(--line); color: var(--text-2); }
.card-actions { margin-top: auto; display: flex; gap: 8px; }
.card-actions .btn { flex: 1; }
.card-actions .btn.added { background: var(--wa); color: #fff; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.noscript-list { color: var(--muted); }

/* ---------- Calculator ---------- */

.calculator {
  padding: 40px; border-radius: 26px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 107, 26, 0.12), transparent 60%),
    linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-2);
}
.calc-head { max-width: 640px; margin-bottom: 30px; }
.calc-head h3 { font-family: var(--font-head); font-size: 44px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.calc-head p { color: var(--muted); }
.calc-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.seg button {
  padding: 10px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--line-2); background: var(--glass); transition: all 0.25s;
}
.seg button:hover { color: var(--text); border-color: rgba(255, 179, 71, 0.5); }
.seg button[aria-checked='true'] { color: #1a0d03; background: linear-gradient(120deg, var(--molten), var(--molten-2)); border-color: transparent; }

.calc-fields,
.calc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.calc-row { margin-top: 14px; }

.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input,
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 16px;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--text); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15); }
.field.invalid input { border-color: #ff5d5d; }
.field .error { color: #ff8a8a; font-size: 13px; min-height: 0; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}

.calc-result {
  display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 20px;
  background: var(--sunken); border: 1px solid var(--line);
}
.calc-render { height: 190px; display: grid; place-items: center; }
.calc-render svg { height: 100%; width: auto; max-width: 100%; animation: pop-in 0.6s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: scale(0.85) rotate(-6deg); } }
.calc-out { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 12px; }
.calc-section { padding-top: 70px; background: var(--bg-2); }
.calc-form { display: grid; gap: 16px; align-content: start; }
.calc-form .seg { margin-bottom: 0; }
.calc-head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-head-row span { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--molten-2); }
.calc-head-row strong { font-family: var(--font-head); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.calc-out strong { font-size: 26px; }
.calc-out > div { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.calc-out span { font-size: 13px; color: var(--muted); font-weight: 500; }
.calc-out strong { font-family: var(--font-head); font-size: 32px; font-weight: 700; line-height: 1.1; }
.out-total-wrap { border-color: rgba(255, 107, 26, 0.4) !important; }
.out-total { color: var(--molten-2); }
.out-tons { font-style: normal; font-size: 14px; color: var(--muted); }
.calc-note { font-size: 13px; color: var(--muted); margin: 0; }
.calc-ask { align-self: flex-start; }

/* Tool tabs: weight calculator, cut list, converter */
.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tool-tabs [role='tab'] {
  padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--muted);
  border: 1.5px solid var(--line-2); background: var(--glass); transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.tool-tabs [role='tab']:hover { color: var(--text); border-color: rgba(255, 179, 71, 0.5); }
.tool-tabs [role='tab'][aria-selected='true'] { color: #1a0d03; background: linear-gradient(120deg, var(--molten), var(--molten-2)); border-color: transparent; }
.tool-panel[hidden] { display: none; }

/* Cut list */
.cut-pieces { display: grid; gap: 8px; }
.cut-head,
.cut-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 44px; gap: 8px; }
.cut-head span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.cut-row input,
.conv-in input,
.conv-in select {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 16px;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--text); outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.cut-row input:focus,
.conv-in input:focus,
.conv-in select:focus { border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15); }
.cut-remove {
  border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 22px; line-height: 1; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.cut-remove:hover { color: #ff7b7b; border-color: #ff7b7b; }
.cut-add-row { justify-self: start; margin-top: 4px; }
.cut-plan { display: grid; gap: 8px; }
.cut-plan:empty { display: none; }
.cut-plan-title { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--molten-2); }
.cut-plan-title small { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.cut-bar-row { display: flex; align-items: center; gap: 10px; }
.cut-times { min-width: 42px; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--molten-2); }
.cut-bar { flex: 1; min-width: 0; display: flex; gap: 2px; height: 32px; padding: 2px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); direction: ltr; }
.cut-seg {
  min-width: 0; display: grid; place-items: center; overflow: hidden; border-radius: 5px;
  font-size: 11.5px; font-weight: 700; white-space: nowrap; color: #fff;
}
.cut-seg.s0 { background: #e2580c; }
.cut-seg.s1 { background: #4f6274; }
.cut-seg.s2 { background: #ffb347; color: #1a0d03; }
.cut-seg.s3 { background: #2f7da8; }
.cut-seg.s4 { background: #a3430a; }
.cut-seg.s5 { background: #8fa3b8; color: #14181d; }
.cut-seg.off { color: var(--muted); background: repeating-linear-gradient(45deg, rgba(143, 163, 184, 0.28) 0 6px, rgba(143, 163, 184, 0.1) 6px 12px); }
.cut-more { margin: 0; font-size: 13px; color: var(--muted); }

/* Cut list mode switch, and the sheets & plates layout */
.cut-mode { margin-bottom: 26px; }
.cut-linear[hidden],
.cut-sheet[hidden] { display: none; }
.sc-head,
.sc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px 44px; gap: 8px; }
.sc-head span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.sc-row input {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-size: 16px;
  background: var(--bg); border: 1.5px solid var(--line-2); color: var(--text); outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.sc-row input:focus { border-color: var(--molten); box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.15); }
.sc-sheetsize { margin: 0; }
.sc-sheetsize button { padding: 9px 12px; font-size: 13.5px; }
.sc-custom[hidden] { display: none; }
.check-field { display: flex; align-items: center; gap: 10px; align-self: end; padding-bottom: 12px; font-size: 14.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.check-field input { width: 20px; height: 20px; accent-color: var(--molten); }
.sc-plan { display: grid; gap: 10px; }
.sc-plan:empty { display: none; }
.sc-sheet-row { display: flex; align-items: center; gap: 10px; }
.sc-sheet { flex: 1; min-width: 0; height: auto; border-radius: 6px; direction: ltr; }
.sc-board { fill: rgba(143, 163, 184, 0.22); }
.sc-piece rect { stroke: var(--panel); }
.sc-piece text { fill: #fff; font-weight: 700; font-family: var(--font-body); stroke: none; }
.sc-piece.s0 rect { fill: #e2580c; }
.sc-piece.s1 rect { fill: #4f6274; }
.sc-piece.s2 rect { fill: #ffb347; }
.sc-piece.s2 text { fill: #1a0d03; }
.sc-piece.s3 rect { fill: #2f7da8; }
.sc-piece.s4 rect { fill: #a3430a; }
.sc-piece.s5 rect { fill: #8fa3b8; }
.sc-piece.s5 text { fill: #14181d; }

/* Converter */
.converter > .calc-note { margin-top: 16px; }
.conv-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.conv-card { grid-column: span 2; }
.conv-gauge,
.conv-pipe { grid-column: span 3; }
.conv-card {
  padding: 22px; border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}
.conv-card h3 { margin-bottom: 12px; font-family: var(--font-head); font-size: 24px; font-weight: 800; text-transform: uppercase; }
/* Number on its own line and the unit (written in full) underneath, so long unit names fit. */
.conv-in { display: grid; grid-template-columns: 1fr; gap: 8px; }
.conv-in:has(> :only-child) { grid-template-columns: 1fr; }
.conv-in select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
[dir='rtl'] .conv-in select { padding-right: 14px; padding-left: 34px; background-position: 18px 55%, 13px 55%; }
.conv-out { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.conv-out li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--glass-2); }
.conv-out strong { font-family: var(--font-head); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.conv-out span { font-size: 13.5px; line-height: 1.3; color: var(--muted); text-align: end; }
.conv-reverse { margin-top: 14px; }
.conv-reverse > span { font-size: 13px; }
.conv-nearest { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--molten-2); }
.conv-nearest:empty { display: none; }

/* ---------- Product guide ---------- */

.guide { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); padding-top: 60px; }
.guide-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.guide-head > div:first-child { max-width: 700px; }
.guide-head h2 { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 18px; }
.guide-downloads { display: grid; gap: 12px; justify-items: stretch; }
.download-card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 24px 18px 18px; border-radius: 20px; overflow: hidden;
  color: #1a0d03; background: linear-gradient(120deg, var(--molten), #ffb347);
  box-shadow: 0 20px 40px -18px var(--molten-glow); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.download-card::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-20deg);
  animation: sheen 3.6s var(--ease) 3;
}
@keyframes sheen { 0%, 55% { left: -80px; } 100% { left: 110%; } }
.download-card:hover { box-shadow: 0 26px 50px -16px rgba(255, 107, 26, 0.6); }
.dl-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(26, 13, 3, 0.12); }
.dl-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.download-card strong { display: block; font-size: 17px; }
.download-card small { font-size: 13px; opacity: 0.8; }

.configurator {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.6);
  margin-bottom: 70px;
}
.viewer-wrap { position: relative; min-height: 560px; background: linear-gradient(var(--viewer-top), var(--viewer-bottom)); }
.viewer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; outline: none; }
.viewer-canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--molten); }
.viewer-hint {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2);
  background: var(--float-bg); border: 1px solid var(--line); pointer-events: none; backdrop-filter: blur(6px);
  animation: hint-fade 6s 2s forwards;
}
.viewer-hint svg { width: 16px; height: 16px; fill: none; stroke: var(--molten); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: rotate 3s linear infinite; }
@keyframes hint-fade { 80% { opacity: 1; } 100% { opacity: 0; } }
.viewer-title { position: absolute; left: 22px; bottom: 76px; pointer-events: none; display: grid; }
.vt-name { font-family: var(--font-head); font-size: 34px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.vt-size { color: var(--molten-2); font-weight: 600; font-size: 15px; }
.viewer-toolbar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px;
  background: var(--float-bg); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.vt-btn {
  min-width: 40px; height: 38px; padding: 0 12px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--text-2);
  display: inline-grid; place-items: center; transition: background-color 0.2s, color 0.2s;
}
.vt-btn:hover { background: var(--glass-3); color: var(--text); }
.vt-btn.is-on,
.vt-btn.active { background: linear-gradient(120deg, var(--molten), #ffb347); color: #1a0d03; }
.vt-btn.icon { padding: 0; width: 38px; font-size: 20px; }
.vt-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.vt-btn.spin.is-on { animation: spin-glow 2s ease-in-out infinite; }
@keyframes spin-glow { 50% { box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.18); } }
.material-chips { position: absolute; top: 60px; right: 16px; display: grid; gap: 6px; }
.material-chips button {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--float-bg); border: 1.5px solid var(--line); color: var(--text-2); backdrop-filter: blur(6px); transition: border-color 0.2s;
}
.material-chips button[aria-checked='true'] { border-color: var(--molten); color: var(--text); }
.material-chips i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); }
.mt-ms { background: linear-gradient(135deg, #8c99a8, #3e4752); }
.mt-gi { background: linear-gradient(135deg, #e6eaee, #9aa5b0); }
.mt-ss { background: linear-gradient(135deg, #ffffff, #b7c0ca); }
.mt-al { background: linear-gradient(135deg, #f1f2f3, #c4c9ce); }

.config-panel { padding: 28px; display: grid; gap: 14px; align-content: start; border-left: 1px solid var(--line); }
.shape-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.shape-tabs button {
  padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--line-2); transition: all 0.2s;
}
.shape-tabs button:hover { color: var(--text); border-color: rgba(255, 179, 71, 0.5); }
.shape-tabs button[aria-selected='true'] { color: #1a0d03; background: linear-gradient(120deg, var(--molten), #ffb347); border-color: transparent; }
.cfg-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cfg-selects select { font-size: 14.5px; }
.group-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.group-tabs button {
  padding: 8px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted);
  background: var(--glass-2); border: 1.5px solid transparent; transition: all 0.2s;
}
.group-tabs button:hover { color: var(--text); }
.group-tabs button[aria-pressed='true'] { color: #1a0d03; background: linear-gradient(120deg, var(--molten), #ffb347); }
.cfg-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.cfg-input { display: grid; gap: 6px; }
.cfg-input > span { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.cfg-input input[type='number'] { width: 100%; padding: 10px 12px; border-radius: 10px; font-size: 15.5px; background: var(--bg); border: 1.5px solid var(--line-2); outline: none; }
.cfg-input input[type='number']:focus { border-color: var(--molten); }
.cfg-input input[type='range'] { width: 100%; accent-color: var(--molten); height: 18px; }
.cfg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cfg-row .field input { padding: 10px 12px; }
.config-panel .field select { padding: 11px 14px; }
.cfg-error { margin: 0; min-height: 0; color: #ff7b7b; font-size: 14px; font-weight: 600; }
.cfg-error:empty { display: none; }
.cfg-results { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: var(--sunken); border: 1px solid var(--line); }
.cfg-section svg { width: 100%; height: auto; }
.sec-fill { fill: var(--steel); fill-opacity: 0.35; stroke: var(--molten); stroke-width: 1.4; }
.sec-dim line { stroke: var(--muted); stroke-width: 1; }
.sec-text { fill: var(--text-2); font: 600 11px var(--font-body); }
.cfg-stats { margin: 0; display: grid; gap: 8px; }
.cfg-stats div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cfg-stats dt { color: var(--muted); }
.cfg-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.cfg-stats .hl { padding-top: 8px; border-top: 1px dashed var(--line-2); }
.cfg-stats .hl dd { color: var(--molten-2); font-family: var(--font-head); font-size: 24px; line-height: 1; }
.cfg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-actions .btn { flex: 1; }

.tables { padding: 32px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); }
.tables-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.tables-head h3 { font-family: var(--font-head); font-size: 36px; font-weight: 800; text-transform: uppercase; }
.search-box.small { height: 44px; min-width: 240px; }
.family-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.family-tabs button {
  flex: none; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--line-2); transition: all 0.2s;
}
.family-tabs button:hover { color: var(--text); }
.family-tabs button[aria-selected='true'] { color: var(--text); border-color: var(--molten); background: rgba(255, 107, 26, 0.1); }
.table-blurb { color: var(--muted); font-size: 15px; margin: 8px 0 14px; }
.table-scroll { overflow: auto; max-height: 520px; border-radius: 14px; border: 1px solid var(--line); }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.size-table th {
  position: sticky; top: 0; z-index: 1; text-align: left; vertical-align: bottom; padding: 12px 16px; font-size: 13.5px; font-weight: 700; line-height: 1.3;
  color: #1a0d03; background: #ff8f3a; box-shadow: inset 0 -3px 0 rgba(26, 13, 3, 0.12); min-width: 110px; max-width: 190px; white-space: normal;
}
.size-table td { padding: 11px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.size-table td:first-child { font-weight: 700; }
.size-table tbody tr { cursor: pointer; transition: background-color 0.15s; animation: row-in 0.4s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes row-in { from { opacity: 0; transform: translateX(-10px); } }
.size-table tbody tr:nth-child(even) { background: var(--glass); }
.size-table tbody tr:hover { background: rgba(255, 107, 26, 0.1); }
/* Pipe chart: rows grouped by size, size column stays visible while scrolling sideways. */
.size-table tbody tr.band-0 { background: transparent; }
.size-table tbody tr.band-1 { background: var(--glass-2); }
.size-table tbody tr.group-start td { border-top: 2px solid var(--molten); }
.size-table tbody tr.band-0:hover,
.size-table tbody tr.band-1:hover { background: rgba(255, 107, 26, 0.1); }
.size-table th:first-child,
.size-table td:first-child { position: sticky; left: 0; }
.size-table th:first-child { z-index: 2; }
.size-table td:first-child { z-index: 1; background: var(--panel); box-shadow: inset -1px 0 0 var(--line); }
.size-table tbody tr.selected { background: rgba(255, 107, 26, 0.18); box-shadow: inset 4px 0 0 var(--molten); }
.size-table .w-col { color: var(--molten-2); font-weight: 700; }
.table-note { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }

/* ---------- Material grades ---------- */

.grades { background: var(--bg-2); }
.grade-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.grade-tabs [role='tab'] {
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted);
  border: 1.5px solid var(--line-2); background: var(--glass); transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.grade-tabs [role='tab']:hover { color: var(--text); border-color: rgba(255, 179, 71, 0.5); }
.grade-tabs [role='tab'][aria-selected='true'] { color: #1a0d03; background: linear-gradient(120deg, var(--molten), var(--molten-2)); border-color: transparent; }
.grade-panels { padding: 28px; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); }
.grade-panel[hidden] { display: none; }
.grade-applies { margin: 0 0 6px; font-size: 15px; color: var(--text-2); }
.grade-applies strong { color: var(--molten-2); }
.grade-intro { margin: 0 0 18px; max-width: 860px; color: var(--muted); font-size: 15.5px; }
.grades .table-scroll { max-height: none; }
.grade-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.grade-table thead th {
  padding: 12px 14px; text-align: start; vertical-align: bottom; font-size: 13px; font-weight: 700; line-height: 1.3;
  color: #1a0d03; background: #ff8f3a; white-space: nowrap;
}
.grade-table tbody th,
.grade-table td { padding: 11px 14px; text-align: start; border-top: 1px solid var(--line); vertical-align: top; }
.grade-table tbody th { font-weight: 800; color: var(--text); white-space: nowrap; }
.grade-table td { color: var(--text-2); }
.grade-table .std,
.grade-table .num { white-space: nowrap; }
.grade-table .num { font-variant-numeric: tabular-nums; }
.grade-table tbody tr:nth-child(even) { background: var(--glass); }
.grade-table tbody tr:hover { background: rgba(255, 107, 26, 0.08); }
.grade-table.compact { font-size: 14px; }
.grade-sub { margin: 24px 0 10px; font-family: var(--font-head); font-size: 22px; font-weight: 800; text-transform: uppercase; }
.grade-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; margin-top: 18px; }
.grade-card { padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); }
.grade-card h3 { margin-bottom: 14px; font-family: var(--font-head); font-size: 26px; font-weight: 800; text-transform: uppercase; }
.grade-example { display: flex; gap: 6px; margin-bottom: 16px; direction: ltr; }
.gx { padding: 8px 14px; border-radius: 12px; font-family: var(--font-head); font-size: 34px; font-weight: 800; line-height: 1; color: #fff; }
.gx-1 { background: #e2580c; }
.gx-2 { background: #4f6274; }
.gx-3 { background: #2f7da8; }
.gx-4 { background: #a3430a; }
.grade-parts { display: grid; gap: 2px; margin: 0; }
.grade-parts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.grade-parts dt { font-weight: 800; color: var(--molten-2); direction: ltr; text-align: start; }
.grade-parts dd { margin: 0; color: var(--text-2); font-size: 14.5px; }
.grade-small { margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.grade-note { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; border-inline-start: 4px solid var(--molten); background: var(--glass-2); color: var(--text-2); font-size: 14.5px; }
/* Grade names, standards and numbers read left to right on the Arabic page. */
[dir='rtl'] .grade-table tbody th,
[dir='rtl'] .grade-table .std,
[dir='rtl'] .grade-table .num { unicode-bidi: plaintext; }

/* ---------- Applications ---------- */

.applications { padding: 60px 0 120px; }
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.app {
  padding: 26px 20px; border-radius: var(--radius); text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.3s, background-color 0.3s;
}
.app:hover { transform: translateY(-8px); border-color: rgba(255, 179, 71, 0.4); background: var(--panel-2); }
.app svg { width: 52px; height: 52px; margin: 0 auto 16px; fill: none; stroke: var(--molten-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s var(--ease); }
.app:hover svg { transform: rotate(-8deg) scale(1.12); }
.app h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.app p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.45; }

/* Services from the sister company (each card opens aspire-power.com) */
.services { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 100px; }
.services-head h2 { margin-bottom: 14px; font-family: var(--font-head); font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 179, 71, 0.5); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 107, 26, 0.12); color: var(--molten-2); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 6px; font-family: var(--font-head); font-size: 26px; font-weight: 800; text-transform: uppercase; }
.service-card p { flex: 1; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--molten-2); }
.service-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.service-card:hover .service-link svg { transform: translate(3px, -3px); }
[dir='rtl'] .service-link svg { transform: scaleX(-1); }
[dir='rtl'] .service-card:hover .service-link svg { transform: scaleX(-1) translate(3px, -3px); }

/* ---------- About (light section) ---------- */

.about {
  background: var(--light-bg); color: var(--light-text); color-scheme: light;
  border-radius: 40px 40px 0 0;
}
.about .kicker { color: #c24d0a; }
.about .kicker span { border-color: rgba(194, 77, 10, 0.4); }
.about h2 {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 22px;
}
.about .accent { color: #e2580c; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.about-copy > p { color: var(--light-muted); font-size: 18px; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.about-points div { padding: 18px; border-radius: 14px; background: var(--light-panel); border: 1px solid rgba(20, 24, 29, 0.08); }
.about-points strong { display: block; font-size: 15px; margin-bottom: 4px; }
.about-points span { font-size: 14px; color: var(--light-muted); line-height: 1.45; display: block; }

.about-visual {
  position: relative; aspect-ratio: 1 / 0.92; border-radius: 30px; overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 107, 26, 0.35), transparent 50%),
    linear-gradient(160deg, #1b2129, #0b0d10);
  box-shadow: 0 40px 80px -40px rgba(11, 13, 16, 0.6);
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.photo-stack { position: absolute; inset: 0; }
.ps {
  position: absolute; object-fit: cover; border-radius: 18px; border: 5px solid #fff;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.8s var(--ease), z-index 0s 0.2s;
}
.ps-1 { width: 62%; height: 46%; left: 6%; top: 8%; transform: rotate(-5deg); }
.ps-2 { width: 56%; height: 42%; left: 8%; bottom: 7%; transform: rotate(4deg); }
.ps-3 { width: 44%; height: 70%; right: 6%; top: 15%; transform: rotate(3deg); z-index: 1; }
.about-visual:hover .ps-1 { transform: rotate(-9deg) translate(-12px, -10px) scale(1.02); }
.about-visual:hover .ps-2 { transform: rotate(7deg) translate(-10px, 12px) scale(1.02); }
.about-visual:hover .ps-3 { transform: rotate(-1deg) translate(12px, 0) scale(1.05); }

/* Yard gallery */
.gallery { margin-bottom: 100px; }
.gallery .reviews-head { align-items: flex-end; }
.gallery-lead { color: var(--light-muted); margin: 0; max-width: 420px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; padding: 0; background: #d9dee3; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.5s; }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 16, 0.75)); opacity: 0.85; transition: opacity 0.4s; }
.g-item span {
  position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 1; text-align: left;
  color: #fff; font-weight: 600; font-size: 15px; transform: translateY(4px); transition: transform 0.4s var(--ease);
}
.g-item:hover img { transform: scale(1.08); }
.g-item:hover span { transform: none; }
.g-item:hover::after { opacity: 1; }
.gallery-more { display: none; }
@media (max-width: 640px) {
  .gallery-more { display: flex; margin: 18px auto 0; }
  .gallery:not(.show-all) .g-extra { display: none; }
}

.lightbox {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(5, 6, 8, 0.94); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.3s forwards; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 60px 80px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); border-radius: 14px; object-fit: contain; animation: pop-in 0.5s var(--ease); }
.lightbox figcaption { font-size: 16px; color: #c7d0d9; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; background: rgba(255, 255, 255, 0.1); }
.lb-close:hover { background: var(--molten); }
.lb-nav { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); transition: background-color 0.25s; }
.lb-nav:hover { background: var(--molten); }
.lb-nav svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.yard-badge {
  position: absolute; top: 22px; right: 22px; display: grid; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.yard-badge strong { font-family: var(--font-head); font-size: 40px; line-height: 1; color: var(--molten-2); }
.yard-badge span { font-size: 13px; line-height: 1.35; color: #c7d0d9; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 100px; }
.why-title { grid-column: 1 / -1; font-family: var(--font-head); font-size: 40px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.why-card {
  position: relative; padding: 30px 28px; border-radius: 20px; background: var(--light-panel);
  border: 1px solid rgba(20, 24, 29, 0.08); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.why-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20, 24, 29, 0.4); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon { display: inline-block; font-family: var(--font-head); font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #e2580c; margin-bottom: 14px; }
.why-card h4 { font-size: 20px; margin-bottom: 8px; }
.why-card p { color: var(--light-muted); margin: 0; font-size: 16px; }

.process { margin-bottom: 100px; }
.process h3 { font-family: var(--font-head); font-size: 40px; font-weight: 800; text-transform: uppercase; margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--molten), var(--molten-2));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) 0.3s;
}
.process.in .steps::before { transform: scaleX(1); }
.steps li { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 18px;
  font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff;
  background: var(--light-text); border: 4px solid var(--light-bg);
  transition: background-color 0.4s;
}
.steps li:hover .step-num { background: var(--molten); }
.steps h4 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--light-muted); font-size: 15.5px; margin: 0; }

.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.reviews-head h3 { font-family: var(--font-head); font-size: 40px; font-weight: 800; text-transform: uppercase; }
.google-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: var(--light-panel); border: 1px solid rgba(20, 24, 29, 0.1); font-size: 14px; font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.google-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(20, 24, 29, 0.5); }
.google-badge strong { font-size: 20px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.review-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 24px; margin: -6px -4px 0; scrollbar-width: none; cursor: grab; outline: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.review-track:focus-visible { outline: 2px solid #e2580c; outline-offset: 4px; }
.review {
  flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start;
  margin: 0; padding: 26px; border-radius: 20px; background: var(--light-panel);
  border: 1px solid rgba(20, 24, 29, 0.08); display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(20, 24, 29, 0.4); }
.review-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, #e2580c, var(--molten-2));
}
.review figcaption { font-weight: 700; font-size: 15.5px; line-height: 1.3; flex: 1; }
.review figcaption small { display: block; font-weight: 400; font-size: 13px; color: var(--light-muted); margin-top: 2px; }
.g-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px/1 Arial, sans-serif; color: #4285f4; background: #f1f3f4;
}
.review .stars { font-size: 18px; }
.star-off { color: #d5d9de; }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: #2b333c; }
.review blockquote.clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.read-more { align-self: flex-start; margin-top: -6px; padding: 4px 0; font-size: 14.5px; font-weight: 700; color: #c2410c; }
.read-more:hover { text-decoration: underline; }
.carousel-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* "Write a review" box under the carousel. The QR code is for desktop visitors to scan with their phone. */
.review-cta {
  display: flex; align-items: center; gap: 22px; margin-top: 26px; padding: 18px 22px; border-radius: 20px;
  background: var(--light-panel); border: 1px solid rgba(20, 24, 29, 0.08); color: var(--light-text);
}
.review-qr { flex: none; margin: 0; text-align: center; }
.review-qr img { width: 150px; height: 150px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid rgba(20, 24, 29, 0.1); }
.review-qr figcaption { margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--light-muted); }
.review-cta-text { flex: 1; min-width: 0; }
.review-cta-text strong { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.review-cta-text p { margin: 4px 0 0; color: var(--light-muted); font-size: 15.5px; }
.review-cta .btn { flex: none; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--light-text); color: #fff; transition: background-color 0.25s, transform 0.3s var(--ease);
}
.carousel-btn:hover { background: #e2580c; transform: scale(1.06); }
.carousel-btn:disabled { opacity: 0.35; transform: none; background: var(--light-text); }
.carousel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots span { width: 9px; height: 9px; border-radius: 9px; background: rgba(20, 24, 29, 0.2); transition: width 0.4s var(--ease), background-color 0.3s; }
.carousel-dots span.on { width: 28px; background: #e2580c; }
.btn-ghost-dark { color: var(--light-text); border-color: rgba(20, 24, 29, 0.18); background: var(--light-panel); margin-left: auto; }
.btn-ghost-dark:hover { border-color: #e2580c; color: #c24d0a; }
.btn-ghost-dark.profile-dl { margin: 22px 0 0; }

/* Aspire group block */
.group {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center;
  margin-bottom: 100px; padding: 48px; border-radius: 30px; color: var(--text); position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 100% 100%, rgba(255, 107, 26, 0.22), transparent 60%),
    linear-gradient(150deg, #1b2129, #0b0d10);
  box-shadow: 0 40px 80px -40px rgba(11, 13, 16, 0.6);
}
.group::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.group > * { position: relative; }
.about .group .kicker { color: var(--molten-2); }
.about .group .kicker span { border-color: rgba(255, 179, 71, 0.4); }
/* The group panel is always dark, so it keeps the dark-theme colours in light mode too. */
.group,
.lightbox {
  --text: #e9edf1;
  --muted: #9aa5b1;
  --text-2: #c7d0d9;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-3: rgba(255, 255, 255, 0.08);
  --molten-2: #ffb347;
  color: var(--text);
  color-scheme: dark;
}
.group h3 { font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: 18px; }
.group-copy > p { color: #b9c3cd; }
.group-copy strong { color: var(--text); }
.group-copy em { color: var(--molten-2); font-style: normal; font-weight: 600; }
.group-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.group-services li { padding: 6px 12px; border-radius: 8px; font-size: 13.5px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: #d5dce3; }
.group-link svg { width: 16px; height: 16px; }
.group-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert {
  position: relative; padding: 20px 18px; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.cert::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, var(--molten-2) 85%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-spin 4s linear infinite paused; opacity: 0.9;
}
.cert:hover::after { animation-play-state: running; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes border-spin { to { --angle: 360deg; } }
.cert:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(255, 179, 71, 0.5); }
.cert strong { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.05; color: #fff; }
.cert span { font-size: 13.5px; color: #aab4be; }
.cert-wide { grid-column: 1 / -1; }
.cert-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; color: #8b96a2; }

/* Opening hours status */
.hours-closed { display: block; font-size: 14px; color: var(--muted); }
.open-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: rgba(37, 211, 102, 0.12); color: #4be08a;
}
.open-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.open-status.closed { background: rgba(255, 179, 71, 0.12); color: var(--molten-2); }
:root[data-theme='light'] .open-status { background: rgba(15, 138, 67, 0.1); color: #0b7a3b; }
:root[data-theme='light'] .open-status.closed { background: rgba(192, 84, 10, 0.1); color: #a8480a; }
.pulse-dot.closed { background: var(--molten-2); animation: none; }

.footer-group { font-size: 14px !important; }
.footer-group a { color: var(--molten-2); }
.footer-group a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .link-btn { padding: 0; color: inherit; text-align: start; transition: color 0.2s; }
.site-footer .link-btn:hover { color: var(--text); }
/* Darker orange on the light footer, so small text passes the contrast check. */
:root[data-theme='light'] .site-footer h4,
:root[data-theme='light'] .site-footer .brand-text small,
:root[data-theme='light'] .footer-group a { color: #a3430a; }

.form-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.form-actions .btn { width: 100%; }

/* ---------- FAQ ---------- */

.faq {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(255, 107, 26, 0.08), transparent 60%),
    var(--bg-2);
}
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side .section-head { margin-bottom: 28px; }
.faq-ask {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.faq-ask strong { display: block; font-size: 17px; margin-bottom: 4px; }
.faq-ask p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: rgba(255, 179, 71, 0.35); }
.faq-item[open] { border-color: rgba(255, 179, 71, 0.5); box-shadow: 0 18px 40px -26px var(--molten-glow); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  cursor: pointer; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-num { min-width: 26px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--molten-2); }
.faq-q { flex: 1; font-weight: 600; font-size: 17.5px; line-height: 1.35; }
.faq-item:hover .faq-q { color: var(--molten-2); }
/* Plus sign that turns into a minus when the answer is open. */
.faq-icon {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2);
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: currentColor; transition: transform 0.4s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--molten); border-color: var(--molten); color: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 22px 64px; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.faq-item[open] .faq-a { animation: faq-in 0.45s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.faq-links a {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2);
  font-size: 14px; font-weight: 600; color: var(--molten-2); transition: border-color 0.25s, background-color 0.25s;
}
.faq-links a:hover { border-color: var(--molten); background: rgba(255, 107, 26, 0.08); }
[dir='rtl'] .faq-a { padding: 0 64px 22px 22px; }

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(800px 400px at 0% 100%, rgba(255, 107, 26, 0.1), transparent 60%),
    var(--bg);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
a.info-card:hover { transform: translateX(6px); border-color: rgba(255, 179, 71, 0.4); }
.info-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.info-card strong { font-size: 16.5px; font-weight: 600; line-height: 1.4; display: block; }
.info-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 107, 26, 0.12); color: var(--molten-2);
}
.info-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-icon.wa { background: rgba(37, 211, 102, 0.14); color: var(--wa); }
.info-icon.wa svg { fill: currentColor; stroke: none; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--panel); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); }

.quote-form {
  padding: 36px; border-radius: 26px; position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2);
}
.quote-form h3 { font-family: var(--font-head); font-size: 40px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.form-lead { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.submit-btn { width: 100%; }

/* ---------- Footer ---------- */

.site-footer { padding: 80px 0 30px; background: var(--footer-bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--muted); margin-top: 18px; max-width: 340px; font-size: 15.5px; }
.site-footer h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--molten-2); margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.site-footer li a { transition: color 0.2s; }
.site-footer li a:hover { color: var(--text); }
/* "Reach us": each line has an icon and a small label, so the email, phones and address are obvious. */
.reach-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.fi {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 107, 26, 0.12); color: var(--molten-2);
}
.fi svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fi.wa { background: rgba(37, 211, 102, 0.14); color: var(--wa); }
.fi.wa svg { fill: currentColor; stroke: none; }
.fi-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 1px; }
.fi-body small {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 3px;
}
.fi-body a { overflow-wrap: anywhere; padding: 3px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top-link:hover { color: var(--molten-2); }

/* ---------- Product modal ---------- */

.product-modal {
  width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-2);
  border-radius: 26px; background: var(--panel); color: var(--text); overflow: auto;
}
.product-modal::backdrop { background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(6px); }
.product-modal[open] { animation: modal-in 0.5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(0.97); } }
.modal-inner { display: grid; grid-template-columns: 1fr 1.1fr; position: relative; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  font-size: 26px; line-height: 1; background: var(--glass-3); transition: background-color 0.2s, transform 0.3s var(--ease);
}
.modal-close:hover { background: var(--molten); transform: rotate(90deg); }
.modal-visual {
  display: grid; place-items: center; padding: 40px; min-height: 340px;
  background: radial-gradient(circle at 50% 55%, rgba(255, 107, 26, 0.18), transparent 60%), linear-gradient(160deg, #1d242c, #0e1115);
}
.modal-visual svg { width: 100%; max-height: 320px; animation: pop-in 0.7s var(--ease); }
.modal-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
/* A product photo fills the panel; any extra photos sit in a strip of thumbnails under it. */
.modal-visual.has-photo {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: stretch; gap: 12px; padding: 28px;
  /* Stays in view, window-high, while the details beside it scroll, so the strip is always visible. */
  position: sticky; top: 0; align-self: start; height: min(660px, calc(100vh - 42px));
}
/* The whole photo, never cropped or zoomed: wide shots show as a band, tall ones fill the height. */
.modal-visual .mv-main { width: auto; height: auto; max-width: 100%; max-height: 100%; place-self: center; }
.mv-thumbs { display: flex; gap: 8px; justify-content: center; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.mv-thumb {
  flex: none; width: 54px; height: 54px; padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; background: #0e1115; opacity: 0.6; transition: opacity 0.25s, border-color 0.25s;
}
.mv-thumb:hover,
.mv-thumb[aria-pressed='true'] { opacity: 1; }
.mv-thumb[aria-pressed='true'] { border-color: var(--molten); }
.modal-visual .mv-thumb img { border-radius: 0; }
.modal-body { padding: 40px 36px 34px; }
.modal-cat { color: var(--molten-2); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }
.modal-body h3 { font-family: var(--font-head); font-size: 42px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.modal-desc { color: var(--muted); }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.modal-body h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.modal-cols li { position: relative; padding-left: 18px; margin-bottom: 6px; font-size: 15px; }
.modal-cols li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--molten); transform: rotate(45deg); }
/* Common grades for the product, linking to the full grades table */
.modal-grades { margin-bottom: 20px; }
.grade-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.grade-chip { padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--glass); font-size: 13.5px; font-weight: 700; direction: ltr; unicode-bidi: isolate; }
.grade-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--molten-2); }
.grade-link::after { content: ' →'; }
[dir='rtl'] .grade-link::after { content: ' ←'; }
.grade-link:hover { text-decoration: underline; }
.modal-colors { margin-bottom: 20px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--glass-2); }
.swatch i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); }
.sw-beige { background: #d6c29a; }
.sw-offwhite { background: #e8e6de; }
.sw-blue { background: #2a62ac; }
.sw-green { background: #007c3e; }
.modal-order { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* ---------- Enquiry drawer ---------- */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100; width: min(430px, 100%);
  display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line-2);
  transform: translateX(105%); transition: transform 0.55s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 1099; background: rgba(5, 6, 8, 0.6); backdrop-filter: blur(3px); animation: fade-in 0.3s forwards; opacity: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-head); font-size: 30px; font-weight: 800; text-transform: uppercase; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; font-size: 26px; background: var(--glass-2); }
.drawer-close:hover { background: var(--molten); }
.drawer-empty { padding: 30px 24px; color: var(--muted); }
.drawer-list { flex: 1; overflow-y: auto; padding: 12px 18px; display: grid; align-content: start; gap: 10px; }
.drawer-item {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: center; padding: 14px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line); animation: card-in 0.4s var(--ease);
}
.drawer-item strong { font-size: 15.5px; }
.item-note { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.drawer-item .remove { width: 34px; height: 34px; border-radius: 50%; font-size: 20px; color: var(--muted); background: var(--glass-2); }
.drawer-item .remove:hover { background: #ff5d5d; color: #fff; }
.drawer-item .qty-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-item input,
.drawer-item select { padding: 9px 12px; border-radius: 10px; background: var(--panel); border: 1.5px solid var(--line-2); outline: none; font-size: 15px; width: 100%; }
.drawer-item input:focus,
.drawer-item select:focus { border-color: var(--molten); }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-foot .field input { padding: 11px 14px; }
.drawer-clear { color: var(--muted); font-size: 14px; text-decoration: underline; justify-self: center; }
.drawer.is-empty .drawer-list,
.drawer.is-empty .drawer-foot { display: none; }
.drawer:not(.is-empty) .drawer-empty { display: none; }

/* ---------- WhatsApp float ---------- */

.wa-float-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 1050; display: flex; align-items: flex-end; gap: 12px; }
.wa-float {
  position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.4s var(--ease); animation: wa-in 0.8s var(--ease) 1.6s both;
}
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }
.wa-float::before,
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: wa-pulse 2.4s var(--ease) infinite; pointer-events: none;
}
.wa-float::after { animation-delay: 1.2s; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes wa-pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.75); opacity: 0; } }
@keyframes wa-in { from { transform: scale(0) rotate(-90deg); } to { transform: none; } }

.wa-bubble {
  position: relative; max-width: 250px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px; margin-bottom: 8px;
  background: #fff; color: #1b2229; font-size: 14px; line-height: 1.45; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6);
  animation: bubble-in 0.6s var(--ease);
}
.wa-bubble p { margin: 0; }
.wa-bubble strong { display: block; font-size: 15px; margin-bottom: 2px; }
.wa-bubble-close { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border-radius: 50%; color: #6b7480; font-size: 18px; line-height: 1; }
.wa-bubble-close:hover { background: #eef1f4; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(14px) scale(0.9); } }

.to-top {
  position: fixed; right: 30px; bottom: 100px; z-index: 1049; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease), border-color 0.25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--molten); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 1200; max-width: calc(100% - 140px);
  padding: 14px 22px; border-radius: 999px; background: #f4f6f8; color: #14181d; font-weight: 600; font-size: 15px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, 140%); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.3s, visibility 0.5s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.not-found-title { display: block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: clamp(3.2rem, 9vw, 7rem); line-height: 0.95; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-body { grid-template-columns: 1fr; }
  .conv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conv-card,
  .conv-gauge,
  .conv-pipe { grid-column: auto; }
}

.nav-link { white-space: nowrap; }
@media (max-width: 1380px) {
  .main-nav,
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; min-height: 0; order: -1; margin-top: -10px; }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-aside { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; gap: 28px; margin-top: 70px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-side { position: static; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .review { flex-basis: calc((100% - 18px) / 2); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .configurator { grid-template-columns: 1fr; }
  .viewer-wrap { min-height: 420px; }
  .config-panel { border-left: 0; border-top: 1px solid var(--line); }
  .about-visual { aspect-ratio: 1 / 0.85; }
  .group { grid-template-columns: 1fr; padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-visual { min-height: 240px; padding: 30px; }
  .modal-visual svg { max-height: 220px; }
  .modal-visual.has-photo { position: static; min-height: 0; height: clamp(300px, 80vw, 460px); padding: 16px; gap: 10px; }
  .mv-thumb { width: 48px; height: 48px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .faq-item summary { padding: 16px; gap: 12px; }
  .faq-q { font-size: 16px; }
  .faq-a,
  [dir='rtl'] .faq-a { padding: 0 16px 18px; font-size: 15px; }
  .faq-ask { padding: 18px; }
  .grade-panels { padding: 16px; border-radius: 20px; }
  .grade-card { padding: 20px; }
  .grade-tabs [role='tab'] { padding: 8px 12px; font-size: 13px; }
  .grade-parts div { grid-template-columns: 96px minmax(0, 1fr); }
  .gx { font-size: 28px; padding: 7px 11px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px; }
  .conv-grid { grid-template-columns: 1fr; }
  /* Compact phone menu so every link, the language and theme buttons and WhatsApp fit on one screen. */
  .mobile-menu { padding: calc(var(--header-h) + 8px) 16px 20px; gap: 14px; }
  .mobile-menu nav { gap: 6px; }
  .mobile-menu nav a { padding: 5px 16px; border-radius: 14px; font-size: 24px; }
  .tool-tabs [role='tab'] { flex: 1; padding: 11px 8px; font-size: 14px; }
  .cut-head,
  .cut-row { grid-template-columns: minmax(0, 1fr) 84px 44px; }
  .sc-head,
  .sc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 70px 40px; }
  .sc-row input { padding: 12px 10px; }
  .cut-mode button { flex: 1; }
  .review-cta { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .review-qr { display: none; }
  .review-cta .btn { width: 100%; }
  .section { padding: 84px 0; }
  .brand-logo { width: 50px; height: 50px; border-radius: 12px; }
  .brand { gap: 10px; }
  .brand-text strong { font-size: 23px; white-space: nowrap; }
  .brand-text small { font-size: 10px; letter-spacing: 0.17em; white-space: nowrap; margin-top: 4px; }
  .header-actions { gap: 7px; }
  .theme-toggle,
  .enquiry-toggle,
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { left: 11px; right: 11px; }
  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 19px; }
  .menu-toggle span:nth-child(3) { top: 25px; }
  .hero-visual { height: 330px; }
  .float-chip { padding-block: 6px; padding-inline: 6px 11px; gap: 8px; font-size: 12.5px; }
  .chip-render { width: 42px; height: 34px; }
  .chip-b { left: 0; }
  .chip-c { right: 0; }
  .hero-badge { font-size: 12.5px; padding: 8px 14px; }
  .hero-sub { font-size: 17px; }
  .eyebrow { gap: 8px; padding: 7px 14px; font-size: 13px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-trust { gap: 14px 22px; }
  .hero-trust strong { font-size: 24px; }
  .ticker span { font-size: 21px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .stat strong { font-size: 42px; }
  .product-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filter-chips { min-width: 0; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search-box { min-width: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .calculator { padding: 26px 18px; margin-top: 70px; }
  .calc-head h3 { font-size: 34px; }
  .calc-fields,
  .calc-row,
  .calc-out { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app { padding: 20px 14px; }
  .about { border-radius: 26px 26px 0 0; }
  .about-points { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 130px; gap: 10px; }
  .guide-downloads { width: 100%; }
  .viewer-wrap { min-height: 380px; }
  .vt-name { font-size: 26px; }
  .viewer-title { bottom: 112px; left: 16px; }
  .material-chips { top: 56px; right: 10px; }
  .material-chips button { font-size: 0; gap: 0; padding: 5px; }
  .config-panel { padding: 20px 16px; }
  .cfg-inputs,
  .cfg-selects { grid-template-columns: 1fr; }
  .group-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .group-tabs button { flex: none; }
  .cfg-results { grid-template-columns: 1fr; }
  .cfg-section { max-width: 220px; margin: 0 auto; }
  .tables { padding: 20px 14px; }
  .tables-head h3 { font-size: 28px; }
  .search-box.small { min-width: 0; width: 100%; }
  .size-table { font-size: 14px; }
  .size-table th,
  .size-table td { padding: 10px 12px; }
  .g-item span { font-size: 13px; left: 10px; bottom: 8px; }
  .lightbox figure { padding: 70px 12px; }
  .lb-nav { top: auto; bottom: 18px; margin-top: 0; }
  .review { flex-basis: 86%; }
  .btn-ghost-dark { margin-left: 0; width: 100%; }
  .group { padding: 28px 20px; border-radius: 22px; }
  .group-badges { grid-template-columns: 1fr 1fr; }
  .cert strong { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .modal-body { padding: 28px 20px 24px; }
  .modal-body h3 { font-size: 34px; }
  .modal-cols,
  .modal-order { grid-template-columns: 1fr; }
  .wa-float-wrap { right: 16px; bottom: 16px; }
  .wa-float { width: 58px; height: 58px; }
  .to-top { right: 22px; bottom: 88px; }
  .toast { max-width: calc(100% - 32px); bottom: 90px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span,
  .hero-sub,
  .hero-ctas,
  .hero-trust,
  .hero-visual { transform: none; opacity: 1; }
}


/* ==========================================================================
   Language switch + Arabic (right-to-left)
   ========================================================================== */

.lang-toggle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-2); background: var(--glass); font-weight: 800; transition: border-color 0.25s, transform 0.3s var(--ease);
}
.lang-toggle:hover { border-color: var(--molten); transform: rotate(-8deg); }
.lang-toggle .lt-ar { font-family: 'Cairo', sans-serif; font-size: 20px; line-height: 1; margin-top: -2px; }
.lang-toggle .lt-en { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.04em; }
:root:not([lang='ar']) .lang-toggle .lt-en,
:root[lang='ar'] .lang-toggle .lt-ar { display: none; }

/* Arabic letters must stay joined: no letter-spacing, no forced capitals. */
:root[lang='ar'] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }
:root[lang='ar'] * { letter-spacing: 0 !important; }
:root[lang='ar'] .hero-title { font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1.2; }
:root[lang='ar'] .hero-title .line { padding-bottom: 0.12em; }
:root[lang='ar'] .section-head h2,
:root[lang='ar'] .guide-head h2,
:root[lang='ar'] .about h2 { line-height: 1.3; font-size: clamp(2.2rem, 4.8vw, 4rem); }
:root[lang='ar'] .calc-head-row strong,
:root[lang='ar'] .card-body h3,
:root[lang='ar'] .modal-body h3,
:root[lang='ar'] .vt-name,
:root[lang='ar'] .group h3,
:root[lang='ar'] .why-title,
:root[lang='ar'] .process h3,
:root[lang='ar'] .reviews-head h3,
:root[lang='ar'] .tables-head h3,
:root[lang='ar'] .quote-form h3 { line-height: 1.35; }
:root[lang='ar'] .mobile-menu nav a { font-size: clamp(26px, 5vw, 38px); line-height: 1.5; }
:root[lang='ar'] .brand-text strong { font-size: 27px; }
:root[lang='ar'] .brand-text small { font-size: 13.5px; margin-top: 3px; }

/* Mirror direction-dependent layout. */
[dir='rtl'] .main-nav { margin-left: 0; margin-right: auto; }
[dir='rtl'] .nav-link::after,
[dir='rtl'] .scroll-progress span,
[dir='rtl'] .mobile-menu nav a::before,
[dir='rtl'] .why-card::after,
[dir='rtl'] .steps::before { transform-origin: 100% 50%; }
[dir='rtl'] .mobile-menu nav a::after { content: '←'; transform: translateX(14px); }
[dir='rtl'] .mobile-menu nav a:hover::after,
[dir='rtl'] .mobile-menu nav a:focus-visible::after { transform: none; }
[dir='rtl'] .hero-ctas .btn svg,
[dir='rtl'] .group-link svg,
[dir='rtl'] .carousel-btn svg,
[dir='rtl'] .lb-nav svg,
[dir='rtl'] .dl-icon svg { transform: scaleX(-1); }
[dir='rtl'] .dl-icon svg { transform: none; }
[dir='rtl'] .hero-trust li { padding-left: 0; border-left: 0; padding-right: 16px; border-right: 2px solid var(--molten); }
[dir='rtl'] .ticker-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir='rtl'] .field select { background-position: 15px 55%, 20px 55%; padding-right: 15px; padding-left: 40px; }
[dir='rtl'] .size-table th { text-align: right; }
[dir='rtl'] .size-table th:first-child,
[dir='rtl'] .size-table td:first-child { left: auto; right: 0; }
[dir='rtl'] .size-table td:first-child { box-shadow: inset 1px 0 0 var(--line); }
[dir='rtl'] .size-table tr.selected { box-shadow: inset -4px 0 0 var(--molten); }
[dir='rtl'] .btn-ghost-dark { margin-left: 0; margin-right: auto; }
[dir='rtl'] a.info-card:hover { transform: translateX(-6px); }
[dir='rtl'] .modal-cols li { padding-left: 0; padding-right: 18px; }
[dir='rtl'] .modal-cols li::before { left: auto; right: 0; }
[dir='rtl'] .g-item span { text-align: right; }
[dir='rtl'] .wa-bubble { border-radius: 16px 16px 16px 4px; }
[dir='rtl'] .review-track,
[dir='rtl'] .filter-chips,
[dir='rtl'] .family-tabs { direction: rtl; }
/* Phone numbers, emails and sizes read left-to-right inside Arabic text. */
[dir='rtl'] a[href^='tel:'] strong,
[dir='rtl'] a[href^='mailto:'] strong,
[dir='rtl'] .site-footer a[href^='tel:'],
[dir='rtl'] .site-footer a[href^='mailto:'],
[dir='rtl'] .info-card a[href^='https://wa.me'] strong { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* Sizes like 100×100×10 must read left to right, also inside the size dropdowns. */
[dir='rtl'] .calc-size,
[dir='rtl'] .cut-size,
[dir='rtl'] .cfg-size { direction: ltr; }
[dir='rtl'] .size-table td,
[dir='rtl'] .cfg-stats dd,
[dir='rtl'] .calc-out strong { unicode-bidi: plaintext; }
@media (max-width: 1380px) {
  [dir='rtl'] .header-actions { margin-left: 0; margin-right: auto; }
}
@media (max-width: 640px) {
  :root[lang='ar'] .brand-text strong { font-size: 22px; }
  :root[lang='ar'] .brand-text small { font-size: 11px; }
  .lang-toggle { width: 42px; height: 42px; }
}

/* Language and theme buttons move into the menu on small phones. */
.menu-prefs { display: none; gap: 10px; }
@media (max-width: 480px) {
  .header-actions > .lang-toggle,
  .header-actions > .theme-toggle { display: none; }
  .menu-prefs { display: flex; }
  .menu-prefs .lang-toggle,
  .menu-prefs .theme-toggle { width: 50px; height: 50px; }
}

/* Call us card with several numbers */
.call-card { align-items: flex-start; }
.call-body { flex: 1; min-width: 0; }
.call-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.call-list a {
  display: block; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--glass);
  font-weight: 600; font-size: 15.5px; white-space: nowrap; text-align: center; transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.call-list a:hover { border-color: var(--molten); color: var(--molten-2); background: rgba(255, 107, 26, 0.08); }
[dir='rtl'] .call-list a { direction: ltr; }
@media (max-width: 380px) {
  .call-list a { font-size: 14px; padding: 8px 6px; }
}

/* ---------- Light mode: slow or old computers and phones ---------- */
/* Switched on in theme-init.js (weak device or data saver) or by main.js (slow first visit).
   Blur behind panels is the costliest effect on old graphics chips, and endless decorative
   animations keep a computer busy even when nothing on screen changes. The page looks the same,
   only calmer: panels lose their frosted look, animations play once, the normal cursor is used. */
.lite *,
.lite *::before,
.lite *::after,
.lite ::backdrop { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite *,
.lite *::before,
.lite *::after { animation-iteration-count: 1 !important; }
.lite .beam-ring::before { filter: none; }
.lite .spark-canvas,
.lite .cursor-layer { display: none; }
.lite .site-header.scrolled { background: var(--panel); }
