/* ============================================================
   TOP COAT — Powder Coating & Sandblasting, Musaffah Abu Dhabi
   Dark industrial theme
   ============================================================ */

:root {
  --bg: #0a1120;
  --bg-2: #0e1730;
  --panel: #121e3a;
  --line: #22335c;
  --line-soft: #182446;
  --text: #f2f5fb;
  --muted: #9aa7c4;
  --faint: #5e6c8f;
  --accent: #ec9c15;
  --accent-2: #f9bd45;
  --accent-grad: linear-gradient(100deg, var(--accent-2), var(--accent));
  --wa: #25d366;
  --font-display: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

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

html { scroll-behavior: smooth; }

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

::selection { background: var(--accent); color: #0a1120; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ---------- utility / texture ---------- */

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.dotgrid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
}

.label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.label::before {
  content: "";
  width: 2.2em;
  height: 1px;
  background: var(--accent-grad);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 1rem;
}
.section-head p.lede { max-width: 34ch; color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  padding: 1em 1.9em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-accent { background: var(--accent-grad); color: #241a04; }
.btn-accent:hover { transform: translateY(-3px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); }
.btn-wa { background: var(--wa); color: #062b16; }
.btn-wa:hover { transform: translateY(-3px); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 17, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 88px;
}
@media (max-width: 860px) {
  .header-inner { height: 76px; }
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand svg { height: 40px; width: auto; }
.brand .brand-logo { height: 80px; width: auto; display: block; }
.site-footer .brand .brand-logo { height: 64px; }
@media (max-width: 860px) {
  .brand .brand-logo { height: 46px; }
}
.brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand .brand-text small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--accent-2);
  margin-top: 0.35em;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.main-nav a.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 0.4em 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.main-nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.main-nav a.nav-link:hover { color: var(--text); }
.main-nav a.nav-link:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.header-cta .btn { padding: 0.72em 1.3em; font-size: 0.88rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media video {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero-media video.is-live { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(10, 17, 32, 0.55) 34%, rgba(10, 17, 32, 0.25) 60%, rgba(10, 17, 32, 0.55) 100%),
    linear-gradient(100deg, rgba(10, 17, 32, 0.82) 0%, rgba(10, 17, 32, 0.25) 55%, rgba(10, 17, 32, 0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 7vh, 6rem);
  padding-top: 140px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-2);
  border: 1px solid rgba(249, 189, 69, 0.35);
  padding: 0.55em 1.1em;
  margin-bottom: 1.8rem;
  background: rgba(10, 17, 32, 0.35);
  backdrop-filter: blur(6px);
}
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 7.2rem);
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 46ch;
  color: #cdd4de;
  margin: 1.6rem 0 2.4rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  position: relative;
  z-index: 2;
}
.hero-stats .stat {
  padding: 1.6rem 1.5rem 0 0;
}
.hero-stats .stat + .stat { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  display: block;
  margin-top: 0.5em;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--accent-2), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  color: var(--faint);
  padding: 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
}
.marquee span::after {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */

.services-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 1.1fr 1.4fr 3.5rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(236, 156, 21, 0.09), rgba(249, 189, 69, 0.02));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.service-row:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--faint);
  transition: color 0.4s var(--ease);
}
.service-row:hover .service-num { color: var(--accent-2); }
.service-row h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); transition: transform 0.5s var(--ease); }
.service-row:hover h3 { transform: translateX(10px); }
.service-row p { color: var(--muted); font-size: 0.97rem; max-width: 52ch; }
.service-arrow {
  width: 3.2rem; height: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: end;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.5s var(--ease);
}
.service-arrow svg { width: 1.1rem; height: 1.1rem; transition: transform 0.5s var(--ease); }
.service-row:hover .service-arrow { border-color: var(--accent); background: rgba(236, 156, 21, 0.12); transform: rotate(45deg); }

/* ---------- why us ---------- */

.why { background: var(--bg-2); }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why-copy { position: sticky; top: 110px; }
.why-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 1rem 0 1.4rem; }
.why-copy p { color: var(--muted); max-width: 44ch; }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.feature-icon {
  width: 3.4rem; height: 3.4rem;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--accent-2);
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature h4 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- colours ---------- */

.colours-note {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed rgba(249, 189, 69, 0.4);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.colours-note b { color: var(--accent-2); font-weight: 600; }

.ral-family { margin-bottom: 2.8rem; }
.ral-family > h3 {
  font-size: 1.05rem;
  letter-spacing: 0.26em;
  color: var(--faint);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ral-family > h3::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 0.9rem;
}
.ral-chip {
  text-align: left;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ral-chip:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px -18px rgba(236, 156, 21, 0.5);
}
.ral-swatch { display: block; height: 74px; width: 100%; }
.ral-meta { padding: 0.55rem 0.7rem 0.65rem; }
.ral-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ral-meta span { font-size: 0.72rem; color: var(--faint); letter-spacing: 0.04em; }

/* ---------- process ---------- */

.process { background: var(--bg-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--bg-2);
  padding: 2rem 1.5rem 2.4rem;
  position: relative;
  transition: background 0.5s var(--ease);
}
.step:hover { background: #152242; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 1.1rem;
}
.step h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.88rem; color: var(--muted); }
.step::after {
  content: "";
  position: absolute;
  top: 2.4rem; right: -7px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: rotate(45deg);
  z-index: 2;
}
.step:last-child::after { display: none; }

/* ---------- work gallery ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.work-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 3;
}
.work-item:nth-child(1) { grid-column: span 2; aspect-ratio: 2.75 / 1; }
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: saturate(0.92);
}
.work-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.work-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(10, 17, 32, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5em 1em;
  color: var(--text);
}

/* ---------- google / reviews strip ---------- */

.gbp {
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 200px at 15% 0%, rgba(236, 156, 21, 0.1), transparent 70%),
    var(--panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.gbp-copy h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 0.4rem; }
.gbp-copy p { color: var(--muted); max-width: 52ch; }
.gbp-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- faq ---------- */

.faq-list { max-width: 860px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent-2); }
.faq-list summary .plus {
  flex: none;
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--accent-2);
  transition: transform 0.45s var(--ease), background 0.4s var(--ease);
}
.faq-list details[open] .plus { transform: rotate(45deg); background: rgba(236, 156, 21, 0.12); }
.faq-list details p {
  color: var(--muted);
  padding: 0 3.5rem 1.6rem 0;
  max-width: 65ch;
}

/* ---------- contact ---------- */

.contact { background: var(--bg-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-info h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin: 1rem 0 1.2rem; }
.contact-info > p { color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }

.contact-lines { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 2rem; }
.contact-line {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}
.contact-line svg { width: 1.25rem; height: 1.25rem; color: var(--accent-2); justify-self: center; }
.contact-line a { color: var(--text); font-weight: 500; transition: color 0.3s; display: block; }
.contact-line a:hover { color: var(--accent-2); }
.contact-line small { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.map-frame {
  border: 1px solid var(--line);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.quote-form h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.quote-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.8rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.85em 1em;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-radius: 0;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 156, 21, 0.16);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.quote-form .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--faint); margin-top: 0.9rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--accent-2); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: var(--faint);
}

/* ---------- floating whatsapp ---------- */

.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 120;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-copy { position: static; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item:nth-child(1) { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 32, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
    z-index: 105;
  }
  body.menu-open .main-nav {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.6s var(--ease);
  }
  .main-nav a.nav-link { font-size: 1.5rem; color: var(--text); }
  .burger { display: block; }
  .header-cta .btn-ghost { display: none; }
  .service-row {
    grid-template-columns: 1fr 2.6rem;
    grid-template-areas:
      "num arrow"
      "title title"
      "desc desc";
    row-gap: 0.35rem;
  }
  .service-num { grid-area: num; }
  .service-row h3 {
    grid-area: title;
    min-width: 0;
    font-size: clamp(1.25rem, 5.4vw, 1.6rem);
    overflow-wrap: anywhere;
    margin-top: 0.3rem;
  }
  .service-row p { grid-area: desc; margin-top: 0.15rem; }
  .service-arrow { grid-area: arrow; justify-self: end; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
  .hero-stats .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .scroll-hint { display: none; }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-item:nth-child(1) { grid-column: span 1; aspect-ratio: 4/3; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .header-cta .btn { display: none; }
}

/* ---------- RAL search ---------- */

.ral-search {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.6rem;
}
.ral-search input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  padding: 0.9em 1.1em;
  border-radius: 0;
}
.ral-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(236, 156, 21, 0.16);
}
.ral-search .ral-count {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--faint);
  text-transform: uppercase;
  white-space: nowrap;
}
.ral-empty { color: var(--muted); padding: 1.4rem 0 0.6rem; }

/* ---------- on-site chat widget ---------- */

.chat-widget {
  position: fixed;
  right: 1.4rem;
  bottom: 6rem;
  z-index: 130;
  width: min(385px, calc(100vw - 2.4rem));
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.chat-widget.open { opacity: 1; visibility: visible; transform: none; }

.chat-panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 32px 64px -18px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  max-height: min(580px, 72vh);
  overflow: hidden;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(100deg, #1a2b52, #0e1730);
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 5px;
  flex: none;
}
.chat-title { min-width: 0; }
.chat-title b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}
.chat-title span {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.74rem;
  color: var(--muted);
}
.chat-title .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex: none; }
.chat-close {
  margin-left: auto;
  width: 36px; height: 36px;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--muted);
  transition: color 0.3s;
}
.chat-close:hover { color: var(--text); }

.chat-body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 190px;
}
.msg {
  max-width: 84%;
  padding: 0.6em 0.9em;
  font-size: 0.92rem;
  line-height: 1.5;
  border-radius: 12px;
  white-space: pre-line;
  animation: msg-in 0.3s var(--ease);
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.bot {
  background: #16233f;
  border: 1px solid var(--line-soft);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.msg.user {
  background: #0f5132;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.msg.typing { display: inline-flex; gap: 4px; align-items: center; }
.msg.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typing-b 1s infinite;
}
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-b { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg .msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  margin-top: 0.65em;
  background: var(--wa);
  color: #062b16;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6em 1.05em;
  border-radius: 8px;
  transition: transform 0.3s var(--ease);
}
.msg .msg-btn:hover { transform: translateY(-2px); }
.msg .msg-btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1rem 0.75rem;
}
.chat-quick button {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  color: var(--accent-2);
  padding: 0.45em 0.95em;
  border-radius: 999px;
  transition: border-color 0.3s, background 0.3s;
}
.chat-quick button:hover { border-color: var(--accent); background: rgba(236, 156, 21, 0.1); }

.chat-input { display: flex; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  padding: 0.95em 1em;
  min-width: 0;
}
.chat-input input:focus { outline: none; }
.chat-input button { padding: 0 1.15rem; color: var(--wa); transition: transform 0.3s var(--ease); }
.chat-input button:hover { transform: scale(1.12); }
.chat-input button svg { width: 20px; height: 20px; fill: currentColor; display: block; }

@media (max-width: 560px) {
  .chat-widget { right: 0.8rem; bottom: 5.4rem; width: calc(100vw - 1.6rem); }
  .chat-panel { max-height: 62vh; }
}

/* ---------- RAL family carousel ---------- */

.ral-family { display: none; margin-bottom: 0; }
.ral-family.active { display: block; animation: ralFade 0.5s var(--ease) both; }
@keyframes ralFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.ral-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.ral-nav-title { text-align: center; }
.ral-nav-title h3 {
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ral-nav-title span {
  display: block;
  margin-top: 0.2rem;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ral-arrow {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ral-arrow svg { width: 1.3rem; height: 1.3rem; }
.ral-arrow:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }

.ral-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
}
.ral-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ral-dot:hover { transform: scale(1.18); }
.ral-dot.active {
  border-color: #fff;
  transform: scale(1.28);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .ral-nav-title h3 { font-size: 1.15rem; }
  .ral-arrow { width: 44px; height: 44px; }

  /* 6 colours per row on phones */
  .ral-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4rem;
  }
  .ral-chip { border: none; background: none; }
  .ral-swatch { height: 44px; }
  .ral-meta { padding: 0.28rem 0.1rem 0; }
  .ral-meta b { font-size: 0.55rem; letter-spacing: 0.02em; }
  .ral-meta span { display: none; }
  .ral-dot { width: 20px; height: 20px; }
  .ral-dots { gap: 0.5rem; }
}

/* ---------- work gallery: rows of wide + standard tiles ---------- */

.work-item:nth-child(3) { grid-column: span 2; aspect-ratio: 2.75 / 1; }
@media (max-width: 980px) {
  .work-item:nth-child(1) { aspect-ratio: 16 / 9; }
  .work-item:nth-child(3) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .work-item:nth-child(4) { grid-column: span 2; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .work-item:nth-child(1),
  .work-item:nth-child(3),
  .work-item:nth-child(4) { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ---------- image lightbox ---------- */

.work-zoom { display: block; height: 100%; cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 10, 20, 0.94);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease);
}
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid var(--line-soft);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}
.lightbox.open img { transform: none; }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent-2); }
