/* ============================================================
   نجوم الفاء للتجارة — Heavy Equipment Rental
   Design system: asphalt black · safety amber · concrete
   ============================================================ */

:root {
  --bg: #0B0D10;
  --bg-2: #111419;
  --bg-3: #181C23;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #EEF1F5;
  --muted: #98A1AE;
  --amber: #F6B100;
  --amber-2: #FFC838;
  --amber-ink: #1A1400;
  --concrete: #ECEAE4;
  --wa: #22C15E;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-num: "Big Shoulders Display", "Alexandria", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 800; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.amber { color: var(--amber); }

/* ---------- Type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--amber); margin-bottom: 1rem; letter-spacing: .02em;
}
.kicker::before {
  content: ""; width: 34px; height: 10px; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 5px, transparent 5px 10px);
}
.kicker--dark { color: var(--amber-ink); }
.kicker--dark::before { background: repeating-linear-gradient(-45deg, var(--amber-ink) 0 5px, transparent 5px 10px); }

.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.12; }
.lead { color: var(--muted); font-size: 1.1rem; margin-top: 1.1rem; max-width: 560px; }
.section__head { margin-bottom: 3.2rem; }

/* ---------- Reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; white-space: nowrap;
  padding: .9rem 1.6rem; border-radius: 14px; border: 1.5px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--lg { padding: 1.1rem 2rem; font-size: 1.08rem; border-radius: 16px; }
.btn--sm { padding: .6rem 1.15rem; font-size: .9rem; border-radius: 12px; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 14px 34px -14px rgba(246, 177, 0, .8); }
.btn--amber::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .7s var(--ease);
}
.btn--amber:hover { background: var(--amber-2); box-shadow: 0 20px 44px -14px rgba(246, 177, 0, .95); }
.btn--amber:hover::before { transform: translateX(-120%); }
.btn--glass { color: #fff; border-color: var(--line-2); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { border-color: var(--amber); color: var(--amber); }
.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 34px -14px rgba(34, 193, 94, .9); }
.btn--wa:hover { background: #1DB054; transform: translateY(-2px); }
.btn svg use { pointer-events: none; }

/* ---------- Hazard stripe ---------- */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--amber) 0 16px, var(--bg) 16px 32px); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 300;
  background: var(--amber); transform-origin: right; transform: scaleX(var(--p, 0));
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  transition: background .35s ease, border-color .35s ease, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(11, 13, 16, .78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header.hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: var(--amber); color: var(--bg); transition: transform .6s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(144deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; color: #fff; }
.brand__text small { color: var(--muted); font-size: .72rem; }

.nav { display: flex; align-items: center; gap: .3rem; margin-inline-start: auto; }
.nav > a { color: #D9DEE6; font-weight: 500; font-size: .95rem; padding: .45rem .8rem; border-radius: 10px; transition: color .2s, background .2s; }
.nav > a:hover, .nav > a.is-current { color: #fff; background: rgba(255,255,255,.07); }
.nav > a.is-current { color: var(--amber); }
.nav__phone { display: none; }
.header__cta { flex-shrink: 0; }

.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); }
.burger span { position: absolute; right: 12px; left: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.burger.active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  overflow: hidden; isolation: isolate; color: #fff;
}
.hero__slides, .hero__shade, .hero__grid { position: absolute; inset: 0; }
.hero__slides { z-index: -3; }
.hero__slide {
  position: absolute; inset: -4%; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  z-index: -2;
  background:
    linear-gradient(to left, rgba(11,13,16,.96) 0%, rgba(11,13,16,.78) 38%, rgba(11,13,16,.2) 75%),
    linear-gradient(to top, var(--bg) 2%, rgba(11,13,16,0) 40%),
    linear-gradient(to bottom, rgba(11,13,16,.7), rgba(11,13,16,0) 22%);
}
.hero__grid {
  z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 3rem) 0 2rem; }
.tag {
  display: inline-flex; align-items: center; gap: .6rem; width: fit-content;
  font-size: .88rem; color: #D6DBE3; padding: .4rem 1rem .4rem 1.1rem; border-radius: 100px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(34,193,94,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,193,94,0); } }

.hero__title { margin: 1.4rem 0 1.2rem; font-weight: 900; }
.hero__title .split { display: block; }
.hero__title .split:first-child { font-size: clamp(3.2rem, 8vw, 7.2rem); line-height: 1.05; letter-spacing: -.02em; }
.hero__title .split.amber { font-size: clamp(1.4rem, 2.8vw, 2.4rem); line-height: 1.35; margin-top: .5rem; max-width: 22ch; }
.hero__sub { font-size: clamp(1rem, 1.5vw, 1.18rem); color: #C8CED8; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .16em; margin-block: -.08em -.16em; }
.w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease-out); transition-delay: calc(.1s + var(--i) * .07s); }
.loaded .w > span { transform: none; }
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s var(--ease-out); transition-delay: .5s; }
.js .hero__actions.fade { transition-delay: .65s; }
.loaded .fade { opacity: 1 !important; transform: none !important; }

/* stats */
.hero__stats { position: relative; z-index: 2; border-top: 1px solid var(--line); background: linear-gradient(to top, rgba(11,13,16,.9), rgba(11,13,16,.4)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.4rem 1.2rem; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat strong { display: flex; align-items: baseline; gap: .25rem; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: .5em; color: var(--amber); }
.stat > span { color: var(--muted); font-size: .88rem; }


/* ---------- Crossing tapes ---------- */
.tapes { position: relative; height: 110px; overflow: hidden; background: var(--bg); }
.tape { position: absolute; inset-inline: -5%; top: 50%; padding: .85rem 0; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.tape--amber { background: var(--amber); color: var(--amber-ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.tape__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: tape 40s linear infinite; }
.tape span { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap; }
.tape b { font-family: var(--font-num); font-weight: 900; font-size: clamp(1.2rem, 2.2vw, 1.7rem); letter-spacing: .14em; }
.tape i { width: 12px; height: 12px; background: currentColor; transform: rotate(45deg); flex-shrink: 0; }
@keyframes tape { to { transform: translateX(50%); } }

/* ---------- Fleet grid ---------- */
.fleet { padding: 6rem 0 7rem; background: var(--bg); }
.fleet__head { margin-bottom: 2.8rem; }
.fleet__viewport { width: min(1240px, 100% - 32px); margin-inline: auto; }
.fleet__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.fpanel {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .3s;
}
.fpanel:hover { transform: translateY(-6px); border-color: rgba(246,177,0,.45); }
.fpanel__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.fpanel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fpanel:hover .fpanel__media img { transform: scale(1.06); }
.fpanel__body { position: relative; flex: 1; display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem 1.6rem 1.7rem; }
.fpanel__num {
  position: absolute; top: -1.4rem; left: 1.4rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  font-family: var(--font-num); font-weight: 900; font-size: 1.3rem; background: var(--amber); color: var(--amber-ink);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.6);
}
.fpanel h3 { font-size: 1.35rem; font-weight: 800; }
.fpanel p { color: var(--muted); font-size: .95rem; }
.specs { display: grid; border-top: 1px solid var(--line); margin-top: auto; }
.specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.specs dt { color: var(--muted); }
.specs dd { font-family: var(--font-display); font-weight: 600; text-align: left; }
.fpanel .btn { margin-top: .5rem; }

.fpanel--cta { background: var(--amber); color: var(--amber-ink); border: 0; justify-content: center; }
.fpanel--cta .fpanel__body { justify-content: center; padding: 2rem 1.8rem; }
.fpanel--cta .fpanel__num { position: static; background: var(--amber-ink); color: var(--amber); margin-bottom: .3rem; }
.fpanel--cta p { color: rgba(26, 20, 0, .75); }
.fpanel__bigstar { position: absolute; left: -70px; bottom: -70px; width: 260px; height: 260px; color: rgba(0,0,0,.07); }
.ticks { list-style: none; display: grid; gap: .5rem; margin-bottom: .4rem; }
.ticks li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--amber-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6B100' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Quote builder ---------- */
.quote { position: relative; padding: 7rem 0; background: var(--bg-2); overflow: hidden; }
.quote::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.quote .container { position: relative; }
.quote__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: start; }

.qform { display: grid; gap: 1.6rem; padding: 2.2rem; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); }
.qfield { border: 0; min-width: 0; }
.qfield legend { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin-bottom: .9rem; }
.qfield legend b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--amber); color: var(--amber-ink); font-size: .8rem; }
.qrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.qtypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.qtype input, .seg input, .switch input { position: absolute; opacity: 0; pointer-events: none; }
.qtype span {
  display: grid; justify-items: center; gap: .5rem; text-align: center; height: 100%;
  padding: 1.1rem .5rem .9rem; border-radius: 16px; cursor: pointer;
  background: var(--bg-2); border: 1.5px solid var(--line); color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: .88rem; line-height: 1.3;
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.qtype span:hover { border-color: var(--line-2); color: #fff; }
.qtype input:checked + span { border-color: var(--amber); color: var(--amber); background: rgba(246,177,0,.08); transform: translateY(-3px); box-shadow: 0 12px 30px -16px rgba(246,177,0,.7); }
.qtype input:focus-visible + span, .seg input:focus-visible + span, .switch input:focus-visible + .switch__ui { outline: 3px solid var(--amber); outline-offset: 2px; }

.qrange input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; direction: rtl; }
.qrange input[type=range]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 6px;
  background: linear-gradient(to left, var(--amber) var(--f, 30%), var(--bg-3) var(--f, 30%));
}
.qrange input[type=range]::-moz-range-track { height: 10px; border-radius: 6px; background: var(--bg-3); }
.qrange input[type=range]::-moz-range-progress { height: 10px; border-radius: 6px; background: var(--amber); }
.qrange input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 9px;
  background: var(--amber) repeating-linear-gradient(-45deg, transparent 0 4px, rgba(0,0,0,.25) 4px 7px);
  border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--amber), 0 6px 16px rgba(0,0,0,.5);
}
.qrange input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 9px; background: var(--amber); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--amber); }
.qrange__scale { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; margin-top: .2rem; }

.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.seg label { flex: 1; min-width: 70px; }
.seg span { display: block; text-align: center; padding: .6rem .5rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--muted); transition: background .2s, color .2s; }
.seg span:hover { color: #fff; }
.seg input:checked + span { background: var(--amber); color: var(--amber-ink); }

.select { position: relative; }
.select::after { content: ""; position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--amber); border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); pointer-events: none; }
.select select {
  width: 100%; -webkit-appearance: none; appearance: none; font: inherit; font-weight: 600; color: #fff;
  padding: .78rem 1rem .78rem 2.6rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer;
}
.select select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.select option { background: var(--bg-2); }

.switch { display: flex; align-items: center; gap: .8rem; cursor: pointer; padding: .7rem 0; font-weight: 600; }
.switch__ui { position: relative; width: 52px; height: 30px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line-2); transition: background .25s; flex-shrink: 0; }
.switch__ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--amber); border-color: var(--amber); }
.switch input:checked + .switch__ui::after { transform: translateX(-22px); background: var(--amber-ink); }

/* panel */
.qpanel { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; padding: 1.2rem; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.qpanel__photo { position: absolute; inset: 0 0 auto; height: 300px; background-size: cover; background-position: center; opacity: .35; transition: opacity .4s ease; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.qpanel__photo.swap { opacity: 0; }
.gauge { position: relative; display: grid; justify-items: center; padding-top: .6rem; }
.gauge__svg { width: min(100%, 320px); overflow: visible; }
.gauge__track, .gauge__fill { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge__track { stroke: rgba(255,255,255,.08); }
.gauge__fill { stroke: var(--amber); stroke-dasharray: var(--g, 30) 100; transition: stroke-dasharray .5s var(--ease); filter: drop-shadow(0 0 10px rgba(246,177,0,.5)); }
.gauge__needle { fill: #fff; transform-origin: 120px 120px; transform: rotate(var(--r, -48deg)); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.gauge__cap { fill: var(--amber); }
#gTicks line { stroke: rgba(255,255,255,.25); stroke-width: 2; }
#gTicks line.major { stroke: rgba(255,255,255,.55); stroke-width: 3; }
.gauge__read { position: absolute; top: 70%; display: flex; align-items: baseline; gap: .4rem; }
.gauge__read strong { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__read span { color: var(--amber); font-weight: 700; font-size: 1.1rem; }
.gauge__read.is-text strong { font-size: 1.7rem; }
.gauge__label { color: var(--muted); font-size: .85rem; margin-top: -.6rem; }

.bubble { position: relative; padding: 1rem 1.1rem; border-radius: 16px 4px 16px 16px; background: #0D2A1D; border: 1px solid rgba(34,193,94,.3); }
.bubble__head { display: flex; align-items: center; gap: .45rem; color: #7BE0A2; font-size: .8rem; font-weight: 600; margin-bottom: .4rem; }
.bubble__msg { font-family: var(--font-body); white-space: pre-wrap; font-size: .92rem; line-height: 1.85; color: #E4F5EA; }
.qpanel__note { text-align: center; color: var(--muted); font-size: .82rem; }

/* ---------- Gallery ---------- */
.gallery-sec { padding: 7rem 0; background: var(--bg); }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.gallery__head .section__head { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  padding: .55rem 1.2rem; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted);
  transition: .2s ease;
}
.filter:hover { color: #fff; border-color: var(--amber); }
.filter.is-active { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.g-item {
  position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: var(--bg-3);
  transition: opacity .45s ease, transform .45s var(--ease);
}
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.9); }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.g-item--cut { background: var(--concrete); }
.g-item--cut img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; filter: none; }
.g-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 0 var(--amber); transition: box-shadow .3s ease;
}
.g-item:hover::before { box-shadow: inset 0 0 0 3px var(--amber); }
.g-item figcaption {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1; display: grid; padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(11,13,16,.92), transparent); color: #fff; font-weight: 600; font-size: .95rem;
  transform: translateY(30%); opacity: 0; transition: .4s var(--ease);
}
.g-item figcaption b { font-size: .72rem; font-weight: 600; color: var(--amber); }
.g-item:hover figcaption { transform: none; opacity: 1; }
.g-item.hide { display: none; }
.g-item.pop { animation: pop .55s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(20px); } }

/* ---------- Process (amber) ---------- */
.process { position: relative; padding: 7rem 0; background: var(--amber); color: var(--amber-ink); overflow: hidden; }
.process__stripes { position: absolute; top: 0; inset-inline: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--amber-ink) 0 18px, var(--amber) 18px 36px); }
.process::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 14px; background: repeating-linear-gradient(-45deg, var(--amber-ink) 0 18px, var(--amber) 18px 36px); }
.process .h2 { color: var(--amber-ink); }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding-top: 3.4rem; }
.steps__rail { position: absolute; top: 0; inset-inline: 0; height: 6px; border-radius: 3px; background: rgba(26,20,0,.15); }
.steps__rail i { position: absolute; inset-block: 0; right: 0; width: 100%; border-radius: 3px; background: var(--amber-ink); transform-origin: right; transform: scaleX(var(--sp, 0)); }
.steps__trolley {
  position: absolute; top: 50%; right: calc(var(--sp, 0) * 100%); display: grid; place-items: center;
  width: 42px; height: 42px; margin: -21px -21px 0 0; border-radius: 12px;
  background: var(--amber-ink); color: var(--amber); box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.steps__trolley svg { transform: rotate(calc(var(--sp, 0) * 720deg)); }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.22); border: 1.5px solid rgba(26,20,0,.14); transition: background .3s, transform .3s var(--ease); }
.step:hover { background: rgba(255,255,255,.4); transform: translateY(-6px); }
.step__num { display: block; font-family: var(--font-num); font-weight: 900; font-size: 4.2rem; line-height: .9; margin-bottom: 1rem; color: transparent; -webkit-text-stroke: 2px var(--amber-ink); }
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .45rem; }
.step p { color: rgba(26,20,0,.75); }

/* ---------- Why (bento) ---------- */
.why { padding: 7rem 0; background: var(--bg); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; padding: 1.8rem; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem;
  transition: border-color .3s, transform .4s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(246,177,0,.14), transparent 60%);
}
.tile:hover { border-color: rgba(246,177,0,.4); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.2rem; font-weight: 800; }
.tile p { color: var(--muted); font-size: .95rem; }
.tile__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; margin-bottom: auto; background: rgba(246,177,0,.1); color: var(--amber); border: 1px solid rgba(246,177,0,.25); transition: transform .4s var(--ease); }
.tile:hover .tile__icon { transform: rotate(-8deg) scale(1.08); }
.tile--hero { grid-column: span 2; grid-row: span 2; padding: 2.4rem; border: 0; }
.tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--hero:hover img { transform: scale(1.05); }
.tile--hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,16,.96) 10%, rgba(11,13,16,.1) 70%); }
.tile__content { position: relative; z-index: 1; }
.tile__big { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1; color: var(--amber); }
.tile--hero h3 { font-size: 1.6rem; }
.tile--hero p { color: #C8CED8; max-width: 400px; }
.tile--wide { grid-column: span 2; }
.tile--map { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.4rem; }
.tile--map > div:first-child { display: flex; flex-direction: column; gap: .4rem; height: 100%; }
.cities { position: relative; flex: 1; max-width: 260px; height: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); }
.cities__track { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; animation: up 20s linear infinite; }
.cities span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: rgba(255,255,255,.2); display: flex; align-items: center; gap: .5rem; }
.cities span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
@keyframes up { to { transform: translateY(-50%); } }

/* ---------- Contact ---------- */
.contact { padding: 6rem 0 7rem; background: var(--bg); border-top: 1px solid var(--line); }

.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.contact__intro { grid-row: span 2; padding-inline-end: 2rem; align-self: center; }
.contact__intro .h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ccard {
  position: relative; display: flex; flex-direction: column; gap: .2rem; padding: 1.8rem; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.ccard:last-child { grid-column: span 2; }
a.ccard:hover { transform: translateY(-5px); border-color: var(--amber); }
.ccard--wa { border-color: rgba(34,193,94,.35); background: linear-gradient(160deg, rgba(34,193,94,.12), var(--bg-2) 60%); }
a.ccard--wa:hover { border-color: var(--wa); }
.ccard__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--amber); color: var(--amber-ink); margin-bottom: 1rem; }
.ccard--wa .ccard__icon { background: var(--wa); color: #fff; }
.ccard__label { color: var(--muted); font-size: .92rem; }
.ccard__value { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; }
.ccard__meta { color: var(--muted); font-size: .85rem; }
.ccard__go { position: absolute; top: 1.8rem; left: 1.8rem; color: var(--muted); transition: transform .3s var(--ease), color .3s; }
a.ccard:hover .ccard__go { transform: translateX(-6px); color: var(--amber); }

/* ---------- Footer ---------- */
.footer { background: #07080A; color: var(--muted); overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; padding: 4.5rem 0 2rem; }
.footer__brand p { margin-top: 1.2rem; font-size: .95rem; max-width: 330px; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.footer__col a { width: fit-content; transition: color .2s; }
.footer__col a:hover { color: var(--amber); }
.footer__giant {
  font-family: var(--font-display); font-weight: 900; text-align: center; line-height: .9; white-space: nowrap;
  font-size: clamp(3.4rem, 15vw, 13.5rem); letter-spacing: -.02em; padding-inline: 16px; margin-bottom: -.12em;
  background: linear-gradient(to bottom, rgba(246,177,0,.32), rgba(246,177,0,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { border-top: 1px solid var(--line); padding: 1.2rem 0; font-size: .85rem; position: relative; background: #07080A; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.totop { display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.totop:hover { color: var(--amber); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; bottom: 1.4rem; left: 1.4rem; z-index: 150;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(34,193,94,.7);
  transition: transform .3s var(--ease), opacity .3s;
}
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { to { transform: scale(1.7); opacity: 0; } }
.float-wa:hover { transform: scale(1.08); }
.float-wa__tip {
  position: absolute; left: calc(100% + 12px); white-space: nowrap; padding: .45rem .9rem; border-radius: 10px;
  background: #fff; color: var(--bg); font-weight: 700; font-size: .85rem; box-shadow: 0 10px 24px rgba(0,0,0,.3);
  opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); pointer-events: none;
}
.float-wa:hover .float-wa__tip { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; gap: 1rem;
  background: rgba(7, 8, 10, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: min(1100px, 88vw); text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 78vh; margin-inline: auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: lbIn .4s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } }
.lightbox__figure figcaption { display: flex; justify-content: center; gap: 1rem; color: #C9CFD8; margin-top: 1rem; }
.lightbox__figure figcaption b { font-family: var(--font-num); color: var(--amber); letter-spacing: .08em; }
.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.06); color: #fff; transition: .2s;
}
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; width: 48px; height: 48px; font-size: 1.7rem; line-height: 1; }
.lightbox__nav { width: 54px; height: 54px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--amber); color: var(--amber-ink); border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav > a:not(.nav__phone) { padding-inline: .55rem; font-size: .9rem; }
  .quote__grid { grid-template-columns: 1fr; }
  .qpanel { position: relative; top: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr 1fr; }
  .contact__intro { grid-column: span 2; grid-row: auto; padding: 0 0 1rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .fleet__track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__cta { display: none; }
  .burger { display: block; margin-inline-start: auto; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: .2rem;
    padding: calc(var(--header-h) + 1rem) 24px 2rem; margin: 0;
    background: rgba(11,13,16,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    clip-path: circle(0 at 40px 34px); transition: clip-path .6s var(--ease-out); visibility: hidden;
  }
  .nav.open { clip-path: circle(150% at 40px 34px); visibility: visible; }
  .nav > a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; padding: .5rem 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none !important; }
  .nav > a:not(.nav__phone):hover { color: var(--amber); }
  .nav__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.2rem; font-size: 1.1rem !important; border: 0 !important; padding: 1rem !important; border-radius: 14px !important; background: var(--amber) !important; color: var(--amber-ink) !important; }
  .nav-open { overflow: hidden; }
  .header.nav-active { background: transparent; backdrop-filter: none; border-color: transparent; }

  .hero__shade { background: linear-gradient(to top, var(--bg) 8%, rgba(11,13,16,.72) 55%, rgba(11,13,16,.55)); }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 1rem .9rem; }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }


  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__rail { display: none; }
  .steps { padding-top: 0; }
}

@media (max-width: 600px) {
  .quote, .gallery-sec, .process, .why { padding: 5rem 0; }
  .fleet { padding: 4.5rem 0 5rem; }
  .fleet__track { grid-template-columns: 1fr; }
  .hero__inner { padding-top: calc(var(--header-h) + 2rem); }
  .hero__title .split:first-child { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero__actions .btn { width: 100%; }
  .qform { padding: 1.3rem; border-radius: 22px; }
  .qtypes { grid-template-columns: 1fr 1fr; }
  .qrow { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .g-item--tall { grid-row: span 1; }
  .g-item figcaption { opacity: 1; transform: none; font-size: .8rem; padding: 1.6rem .7rem .6rem; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide { grid-column: auto; }
  .tile--hero { min-height: 380px; }
  .tile--map { flex-direction: column; align-items: stretch; }
  .tile--map > div:first-child { height: auto; }
  .cities { max-width: none; height: 110px; }
  .cities__track { align-items: flex-start; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro, .ccard:last-child { grid-column: auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom-inner { flex-direction: column; }
  .float-wa { width: 56px; height: 56px; bottom: 1rem; left: 1rem; }
  .float-wa__tip { display: none; }
  .tapes { height: 90px; }
  .lightbox__nav { position: absolute; bottom: 1.4rem; }
  .lightbox__nav--prev { right: calc(50% - 70px); }
  .lightbox__nav--next { left: calc(50% - 70px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .fade, .w > span { opacity: 1; transform: none; }
  .hero__slide { transform: none; }
}
