/* ==========================================================================
   RPS SPRAYING — stylesheet
   Design tokens live at the top. Change colours/fonts here and they
   cascade through the whole site.
   ========================================================================== */

:root {
  /* Colour */
  --charcoal:      #15171A;   /* primary dark background */
  --charcoal-2:    #1E2124;   /* slightly lighter dark panel */
  --primer:        #E7E5DE;   /* light background (cool, not cream) */
  --primer-2:      #DFDCD3;   /* light panel / card background */
  --paper:         #F4F2ED;   /* near-white text on dark, and card text */
  --ink:           #1B1D1F;   /* body text on light backgrounds */
  --orange:        #2271B3;   /* RAL 5015 (Sky Blue) accent, primary CTA */
  --orange-dark:   #1B5A8F;   /* hover state / darker variant */
  --blue-deep:     #1B5A8F;   /* for text on light backgrounds (contrast) */
  --blue-light:    #4386BE;   /* for text on dark backgrounds (contrast) */
  --hazard:        #F5B700;   /* masking-tape yellow, secondary accent */
  --steel:         #3E5C6A;   /* machinery blue-steel, tertiary */
  --line:          #C9C5B8;   /* hairline on light bg */
  --line-dark:     #33373B;   /* hairline on dark bg */

  /* Type */
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', Arial, Helvetica, sans-serif;

  /* Layout */
  --max-w: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--primer);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: 1px; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.9em;
}
.hero .eyebrow, .section-dark .eyebrow { color: var(--blue-light); }

/* Visually hidden (accessibility) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 2px;
}

/* ==========================================================================
   Signature element: hazard/masking stripe divider
   ========================================================================== */
.stripe {
  height: 14px;
  background: repeating-linear-gradient(
    45deg,
    var(--hazard) 0, var(--hazard) 18px,
    var(--charcoal) 18px, var(--charcoal) 36px
  );
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--paper);
}
.btn-primary:hover { background: var(--orange-dark); color: var(--paper); }

.btn-ghost {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn-ghost:hover { background: var(--paper); color: var(--charcoal); }

.btn-ghost-dark {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-ghost-dark:hover { background: var(--charcoal); color: var(--paper); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--charcoal);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img { height: 76px; width: auto; }
.logo .logo-word {
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: 1px;
  color: var(--paper);
  line-height: 1;
}
.logo .logo-word .tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-top: 5px;
}
@media (max-width: 520px) {
  .logo .logo-word .tagline { display: none; }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-main a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover,
.nav-main a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--blue-light);
}

.header-call {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-call .phone {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--paper);
  color: var(--paper);
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-main {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-main.open { max-height: 260px; }
  .nav-main .wrap-inner { width: 100%; }
  .nav-main a { display: block; width: 100%; padding: 16px var(--gutter); border-bottom: 1px solid var(--line-dark); }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--charcoal);
  color: var(--paper);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 520px; height: 520px;
  background:
    radial-gradient(circle, rgba(34,113,179,0.35) 0, rgba(34,113,179,0) 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-inner { position: relative; max-width: 620px; }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(244,242,237,0.8);
  max-width: 52ch;
}
.hero-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--charcoal-2);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: var(--orange);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; aspect-ratio: 4/4.4; }
}

.hero-simple .wrap { display: block; }
.hero-simple .hero-inner { max-width: 640px; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.hero-tags {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(244,242,237,0.65);
}

/* ==========================================================================
   Section spacing
   ========================================================================== */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--charcoal); color: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: #4b4c47; }
.section-dark .section-head p { color: rgba(244,242,237,0.75); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--primer);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 168px;
}
.service-card .icon {
  width: 34px; height: 34px;
  color: var(--blue-deep);
}
.service-card .icon svg { width: 100%; height: 100%; }
.service-card h3 { margin: 0; }
.service-card span.note {
  font-size: 0.86rem;
  color: #55564f;
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Advantages
   ========================================================================== */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.advantage-item .icon-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(34, 113, 179, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.advantage-item .icon-badge svg {
  width: 22px; height: 22px;
  color: var(--blue-light);
}
.advantage-item h3 { color: var(--paper); margin-bottom: 8px; }
.advantage-item p { color: rgba(244,242,237,0.7); margin: 0; }

@media (max-width: 760px) {
  .advantages { grid-template-columns: 1fr; gap: 34px; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--primer-2);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"] {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--charcoal-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.gallery-item[hidden] { display: none; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Before / after compare card
   ========================================================================== */
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.compare-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.compare-card[hidden] { display: none; }
.compare-half {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--charcoal-2);
  overflow: hidden;
}
.compare-half img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.compare-half .tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  background: var(--charcoal);
  color: var(--paper);
}
.compare-half.is-after .tag {
  background: var(--orange);
  color: var(--paper);
}
.compare-card .cap-row {
  grid-column: 1 / -1;
  background: var(--charcoal);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 10px 14px;
}
@media (max-width: 620px) {
  .compare-card { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--orange);
  color: var(--paper);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: rgba(244,242,237,0.85); margin-bottom: 26px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .form-two { grid-template-columns: 1fr; } }

.info-card {
  background: var(--charcoal);
  color: var(--paper);
  padding: 34px 30px;
  border-radius: 4px;
}
.info-card h3 { color: var(--blue-light); margin-bottom: 6px; }
.info-list { list-style: none; margin: 0 0 26px; padding: 0; }
.info-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(244,242,237,0.55);
  margin-bottom: 4px;
}
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--blue-light); }

.form-note {
  font-size: 0.85rem;
  color: #55564f;
  margin-top: -6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--charcoal);
  color: rgba(244,242,237,0.75);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--blue-light); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(244, 242, 237, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: background 0.15s ease, color 0.15s ease;
}
.social-links a:hover {
  background: var(--orange);
  color: var(--paper);
}
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(244,242,237,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
