@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #061526;
  --navy-deep: #020b16;
  --panel: #071b30;
  --blue: #079cff;
  --blue-light: #25b5ff;
  --text: #f5f8fc;
  --muted: #c7d5e5;
  --line: rgba(20, 157, 255, 0.58);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  min-height: 100px;
  padding: 14px 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #050f1c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Use one document-level offset for in-page links so the sticky header
   does not combine with a second target margin. */
#contact {
  min-height: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  color: white;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -5px;
  line-height: 1;
  padding: 7px 7px 7px 0;
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 18px;
  border-top: 7px solid var(--blue);
  border-radius: 70% 80% 0 0;
  transform: rotate(-12deg);
  top: -5px;
  left: 8px;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.brand-copy strong {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
}
.brand-copy small {
  color: #e2eaf3;
  font-size: 0.82rem;
  margin-top: 5px;
}
.brand-copy i {
  color: var(--blue);
  font-style: normal;
  padding: 0 4px;
}
.navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.navigation a {
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.navigation a:hover,
.navigation a.active {
  color: var(--blue-light);
  border-color: var(--blue);
}

/* Facebook link in the sticky header */
.navigation .header-facebook {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #58aaff;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.navigation .header-facebook:hover {
  color: #ffffff;
  border-color: var(--blue);
}

.navigation .header-facebook svg {
  display: block;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 1px solid #28415b;
  border-radius: 7px;
  font-size: 1.4rem;
  padding: 5px 10px;
}

.hero {
  min-height: 430px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("./IMAGES/pcb.jpg");

/*  background: #06162a
    url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=2000&q=85")
    center 48% / cover no-repeat;
*/
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(2, 10, 21, 0.98) 0%,
      rgba(2, 12, 27, 0.91) 31%,
      rgba(2, 12, 27, 0.48) 57%,
      rgba(2, 12, 27, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(2, 10, 20, 0.25), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 48px 4.5% 55px;
}
.eyebrow {
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  margin: 0 0 13px;
}
h1 {
  max-width: 720px;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0 0 17px;
  font-weight: 800;
}
.hero-lead {
  max-width: 620px;
  color: #e0efff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 17px;
}
.hero-copy {
  max-width: 580px;
  font-size: 1rem;
  color: #e1e9f2;
  line-height: 1.55;
  margin: 0 0 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 20px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--blue);
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #087dce;
  transform: translateY(-2px);
}
.button span {
  font-size: 1.25rem;
  line-height: 1;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 24px 3.2%;
  background: linear-gradient(115deg, #041426, #071a2e 60%, #041120);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit {
  text-align: center;
  padding: 8px 20px 10px;
  position: relative;
}
.benefit + .benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 8px;
  width: 1px;
  background: rgba(29, 151, 242, 0.55);
}
.line-icon {
  color: var(--blue);
  display: block;
  font-size: 2.45rem;
  line-height: 1.2;
  margin-bottom: 9px;
}
.benefit h2 {
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.045em;
  margin: 0 0 5px;
}
.benefit p {
  color: #d6e2ef;
  font-size: 0.87rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 220px;
}
.services {
  padding: 66px 4.5% 72px;
  background: #f5f7fa;
  color: #08172d;
}
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.section-heading h2,
.contract h2,
.second-hand h2,
.contact h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.section-heading > p:last-child {
  color: #536174;
  margin: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 265px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 5px;
  color: white;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(2, 9, 18, 0.98),
    rgba(2, 9, 18, 0.04) 100%
  );
  transition: background 0.2s;
}
.service-card:hover::before {
  background: linear-gradient(
    0deg,
    rgba(2, 9, 18, 0.98),
    rgba(0, 87, 157, 0.25)
  );
}
.sound {
  /*background-image: url("https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=900&q=80");*/
  background: url("./IMAGES/speakers.jpg");
}
.lighting {
  /*background-image: url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=900&q=80");*/
  background: url("./IMAGES/ST1.jpg");
}
.electronics {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=80");
}
.general {
 /* background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=900&q=80");*/
background: url("./IMAGES/PA.jpg");
}
.service-card-content {
  padding: 22px;
  width: 100%;
}
.service-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 7px;
}
.service-card p {
  font-size: 0.87rem;
  color: #e0e8f1;
  margin: 0 0 13px;
}
.service-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #5ec5ff;
  font-weight: 700;
  font-size: 0.9rem;
}
.service-card a span {
  font-size: 1.2rem;
}
.contract {
  padding: 55px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #07192c;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.contract > div {
  max-width: 760px;
}
.contract p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}
.button-outline {
  background: transparent;
  flex-shrink: 0;
}
.button-outline:hover {
  background: var(--blue);
}
.second-hand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 330px;
  background: #0a2138;
}
.second-hand-copy {
  padding: 55px 9%;
  align-self: center;
}
.second-hand-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 23px;
  max-width: 570px;
}
.second-hand-hire {
  align-self: center;
  margin: 32px 8% 32px 0;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.second-hand-hire h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.second-hand-hire p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 16px;
}
.second-hand-hire .hire-website {
  margin-bottom: 14px;
}
.second-hand-hire .hire-email {
  display: inline-flex;
  color: #58c4ff;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.second-hand-hire .hire-email:hover {
  color: #ffffff;
  text-decoration: underline;
}

.contact {
  text-align: center;
  padding: 65px 20px 72px;
  background: radial-gradient(ellipse at top, #0d3151 0%, #061526 66%);
}
.contact h2 {
  max-width: 780px;
  margin: 0 auto 13px;
}
.contact > p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  margin: 0 auto 24px;
}
.site-footer {
  text-align: center;
  padding: 25px 20px;
  background: #020913;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
  color: var(--blue-light);
}
.footer-brand span {
  color: white;
  font-style: normal;
  font-weight: 600;
}
.site-footer p {
  margin: 3px 0 8px;
  color: #c4d0de;
  font-size: 0.9rem;
}
.site-footer small {
  color: #8293a7;
  font-size: 0.78rem;
}

@media (max-width: 1000px) {
  .site-header {
    padding-inline: 3%;
  }
  .navigation {
    gap: 20px;
  }
  .benefits {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
  .benefit:nth-child(4)::before {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 78px;
  }
  .site-header {
    min-height: 78px;
    padding: 12px 5%;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    font-size: 2.5rem;
    letter-spacing: -4px;
  }
  .brand-mark::before {
    border-top-width: 5px;
    height: 13px;
  }
  .brand-copy strong {
    font-size: 1.08rem;
  }
  .brand-copy small {
    font-size: 0.65rem;
  }
  .menu-toggle {
    display: block;
  }
  .navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 5% 20px;
    background: #050f1c;
    border-top: 1px solid #1b3047;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .navigation.open {
    display: flex;
  }
  .navigation a {
    padding: 11px 0;
  }

  .navigation .header-facebook {
    align-self: flex-start;
    border-bottom: 0;
  }
  .hero {
    min-height: 510px;
    background-position: 60% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 10, 21, 0.96), rgba(2, 12, 27, 0.75)),
      linear-gradient(0deg, rgba(2, 10, 20, 0.25), transparent);
  }
  .hero-content {
    padding: 48px 6% 52px;
  }
  h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }
  .benefits {
    grid-template-columns: 1fr 1fr;
    padding: 20px 4%;
  }
  .benefit {
    padding: 12px 10px;
  }
  .benefit + .benefit::before {
    display: none;
  }
  .benefit:last-child {
    grid-column: 1 / -1;
  }
  .benefit h2 {
    font-size: 0.78rem;
  }
  .benefit p {
    font-size: 0.82rem;
  }
  .services {
    padding: 48px 5%;
  }
  .service-grid {
    gap: 12px;
  }
  .service-card {
    min-height: 240px;
  }
  .service-card-content {
    padding: 16px;
  }
  .service-card h3 {
    font-size: 0.95rem;
  }
  .service-card p {
    font-size: 0.8rem;
  }
  .contract {
    padding: 45px 6%;
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }
  .second-hand {
    grid-template-columns: 1fr;
  }
  .second-hand-copy {
    padding: 45px 6%;
  }
  .second-hand-hire {
    margin: 0 6% 35px;
    padding: 24px;
  }
  .contact {
    padding: 52px 6%;
    min-height: 0;
  }

}
@media (max-width: 420px) {
  .brand-copy small {
    max-width: 180px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 250px;
  }
}

/* Cookie banner and preferences dialog */
.cookie-banner {
  position: fixed;
  z-index: 1000;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  color: #f5f8fc;
  background: rgba(4, 17, 31, 0.98);
  border: 1px solid rgba(37, 181, 255, 0.55);
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-copy {
  max-width: 650px;
}
.cookie-title {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
}
.cookie-banner-copy p:not(.cookie-title) {
  margin: 0;
  color: #c8d6e5;
  font-size: 0.87rem;
  line-height: 1.55;
}
.cookie-banner-copy a {
  color: #58c4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-button {
  appearance: none;
  border: 1px solid #38516a;
  border-radius: 5px;
  padding: 10px 13px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cookie-button:focus-visible {
  outline: 3px solid #8bd7ff;
  outline-offset: 3px;
}
.cookie-settings,
.cookie-reject {
  color: #f3f7fb;
  background: #10263c;
}
.cookie-settings:hover,
.cookie-reject:hover {
  background: #1b3b58;
  border-color: #6a8eae;
}
.cookie-accept {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.cookie-accept:hover {
  background: #087dce;
}
.cookie-dialog {
  width: min(92vw, 510px);
  padding: 28px;
  color: var(--text);
  background: #07182a;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}
.cookie-dialog::backdrop {
  background: rgba(0, 5, 12, 0.72);
  backdrop-filter: blur(4px);
}
.cookie-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  line-height: 1.2;
}
.cookie-dialog form > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.93rem;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #263e56;
  border-radius: 7px;
  cursor: pointer;
}
.cookie-toggle span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cookie-toggle small {
  color: #b7c8d9;
  font-size: 0.8rem;
}
.cookie-toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.cookie-toggle.locked {
  cursor: not-allowed;
}
.cookie-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 22px;
}
@media (max-width: 760px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
    max-height: 82vh;
    overflow-y: auto;
  }
  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cookie-settings {
    grid-column: 1 / -1;
  }
  .cookie-button {
    padding: 11px 9px;
  }
  .cookie-dialog {
    padding: 22px;
  }
}
.social-links {
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.75;
}

.social-links img,
.social-links svg {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.social-links a {
  color: #58aaff;
}


/* MavHire recommendation link */
.hire-website {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #58c4ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hire-website:hover {
  color: #ffffff;
}
