/* EJS Renovation & Property Maintenance — ejsrenovation.co.uk */
:root {
  --ink: #14181f;
  --ink-soft: #1d222b;
  --red: #ea4e1b;
  --bg: #fcfbf8;
  --muted: #f1f3f6;
  --text: #171b23;
  --text-soft: #5c636f;
  --border: #e2e6ec;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

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

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section.about-section {
  background-image: url("images/section-about.png");
  background-image: url(images/section-about.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 35%;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--red);
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: .2s;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.btn:hover {
  opacity: .9;
}

/* Top bar + nav */
.topbar {
  background: var(--ink);
  color: #eef1f5;
  font-size: .9rem;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.topbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.topbar .wrap>a[href*="instagram"],
.topbar .wrap>a[href*="facebook"],
.topbar-links a {
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--red);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29, 34, 43, .96);
  backdrop-filter: blur(6px);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img {
  width: 250px;
}

.logo .mark {
  font-family: var(--display);
  font-size: 1.6rem;
}

.logo .mark i {
  color: var(--red);
  font-style: normal;
}

.logo .sub {
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

nav a {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
  font-size: .95rem;
  white-space: nowrap;
}

nav a:hover {
  color: var(--red);
}

nav a.btn-red {
  color: #fff;
  padding: 9px 16px;
}

/* Hero */
.home .topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: transparent;
}

.home header {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-slides,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .7s ease, transform 4.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.02);
  animation: heroZoom 4.5s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.02);
  }
}

.hero-shade {
  background: linear-gradient(90deg, rgba(10, 14, 19, .9) 0%, rgba(10, 14, 19, .66) 48%, rgba(10, 14, 19, .2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 160px;
  padding-bottom: 68px;
}

.hero-copy {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.6rem;
  margin-top: 14px;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-location {
  display: block;
  color: #fff;
}

.hero p.lead {
  margin: 18px auto 0 auto;
  color: rgba(255, 255, 255, .75);
  font-size: 1.1rem;
  max-width: 34rem;
}

.hero .actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.slider-arrow,
.slider-dot {
  border: 0;
  cursor: pointer;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(20, 24, 31, .28);
  color: #fff;
  font-size: 1.2rem;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 34px;
  height: 4px;
  background: rgba(255, 255, 255, .42);
}

.slider-dot.is-active {
  background: var(--red);
}

.slider-arrow:focus-visible,
.slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Strip */
.strip {
  background: var(--red);
  color: #fff;
}

.strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
}

.strip h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Locations */
.location-strip {
  background: #050608;
  color: #fff;
  border-top: 1px solid #050608;
}

.location-strip .wrap {
  padding-top: 34px;
  padding-bottom: 34px;
}

.location-strip h2 {
  font-size: 1.7rem;
}

.location-strip p {
  color: rgba(255, 255, 255, .72);
  margin-top: 6px;
}

.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin-top: 20px;
}

.location-links a {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.location-links a:hover {
  color: var(--red);
}

.location-page-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.location-page-links li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.location-page-links span {
  color: var(--text-soft);
  font-weight: 400;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about img {
  border-radius: 14px;
}

.about h2 {
  font-size: 2.4rem;
  margin-top: 12px;
}

.about p {
  color: var(--text-soft);
  margin-top: 14px;
}

.clients {
  background: #fff;
}

.clients h2 {
  font-size: 2.4rem;
  margin-top: 12px;
}

.clients-intro {
  max-width: 720px;
  color: var(--text-soft);
  margin-top: 14px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.client-logo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  min-width: 0;
  cursor: pointer;
}

.carousel-logo {
  position: relative;
  display: block;
  width: min(233px, 100%);
  height: 245px;
  background-position: 0 0;
  opacity: .8;
  transition: opacity .2s ease-in-out;
}

.carousel-logo::before,
.carousel-logo::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("images/Designer.png");
  background-repeat: no-repeat;
  background-position: inherit;
  background-size: 699px 699px;
}

.carousel-logo::before {
  filter: grayscale(100%);
}

.carousel-logo::after {
  background-position: var(--color-position);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .2s ease-in-out;
}

span.carousel-logo.leopard {
  background-position: 0 -390px;
  --color-position: 0 -77px;
  width: min(233px, 100%);
}

.carousel-logo.babs {
  background-position: -233px -420px;
  --color-position: -233px -111px;
}

.carousel-logo.bread-meats-bread {
  background-position: -468px -391px;
  --color-position: -468px -79px;
}

.client-logo:hover .carousel-logo {
  opacity: 1;
}

.client-logo:hover .carousel-logo::after {
  clip-path: inset(0);
}

.ticks {
  list-style: none;
  margin-top: 24px;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ticks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 10px;
  flex: none;
}

/* Commercial */
.commercial-section {
  background: var(--ink);
  color: #fff;
  background-image: linear-gradient(rgba(20, 24, 31, .84), rgba(20, 24, 31, .84)), url("images/section-about-dark.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.commercial-panel {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: start;
}

.commercial-copy h2 {
  font-size: 2.6rem;
  margin-top: 12px;
  max-width: 620px;
}

.commercial-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, .74);
  margin-top: 16px;
  max-width: 680px;
}

.commercial-copy .btn {
  margin-top: 24px;
}

.commercial-media {
  position: relative;
}

.commercial-media>img {
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
}

.commercial-tabs {
  margin: -36px 22px 0;
  position: relative;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.commercial-tab {
  border-bottom: 1px solid var(--border);
  padding: 0 18px;
}

.commercial-tab:last-child {
  border-bottom: 0;
}

.tab-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 0;
  text-align: left;
}

.tab-trigger:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.tab-trigger span {
  color: var(--red);
  font-family: var(--body);
  font-weight: 400;
}

.commercial-tabs summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 15px 0;
  list-style: none;
}

.commercial-tabs summary::-webkit-details-marker {
  display: none;
}

.commercial-tabs summary::after {
  content: "+";
  color: var(--red);
  float: right;
  font-family: var(--body);
  transition: transform .3s ease;
}

.commercial-tabs details[open] summary::after {
  content: "-";
}

.commercial-tabs .tab-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .25s ease;
}

.commercial-tabs .tab-content.is-open {
  opacity: 1;
}

.commercial-tabs .tab-content p {
  min-height: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: .92rem;
  margin: -4px 0 16px;
}

/* Services */
.services {
  background: var(--muted);
}

.services h2 {
  font-size: 2.4rem;
  margin-top: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 24, 31, .1);
}

.card .bar {
  width: 40px;
  height: 4px;
  background: var(--red);
}

.card h3 {
  font-size: 1.25rem;
  margin-top: 16px;
}

.card ul {
  list-style: none;
  margin-top: 14px;
  color: var(--text-soft);
  font-size: .95rem;
}

.card li::before {
  content: "› ";
  color: var(--red);
}

/* Stats */
.stats {
  color: #fff;
  background-image: linear-gradient(rgba(20, 24, 31, .82), rgba(20, 24, 31, .82)), url("images/bg-section2.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.stats .value {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--red);
}

.stats .label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}

/* Projects */
.projects h2 {
  font-size: 2.4rem;
  margin-top: 12px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

figure {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin: 0;
}

figure img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: .5s;
}

figure:hover img {
  transform: scale(1.06);
}

figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(20, 24, 31, .92), transparent);
  color: #fff;
}

figcaption .t {
  font-family: var(--display);
  font-size: 1.25rem;
}

figcaption .s {
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
}

/* Reviews */
.reviews {
  background: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.reviews h2 {
  font-size: 2.4rem;
  margin-top: 12px;
}

.quotes {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  overflow: visible;
  padding: 4px 2px 18px;
  margin-left: 40px;
  margin-right: 20px;
}

blockquote {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
}

.quotes blockquote {
  flex: 0 0 calc((100% - 48px) / 3);
  animation: review-reveal .6s both;
}

.quotes blockquote:nth-child(2) {
  animation-delay: .1s;
}

.quotes blockquote:nth-child(3) {
  animation-delay: .2s;
}

.quotes blockquote:nth-child(4) {
  animation-delay: .3s;
}

.quotes blockquote:nth-child(5) {
  animation-delay: .4s;
}

.quotes blockquote:nth-child(6) {
  animation-delay: .5s;
}

@keyframes review-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

blockquote .stars {
  color: var(--red);
}

blockquote p {
  color: var(--text-soft);
  margin-top: 10px;
}

blockquote footer {
  font-weight: 600;
  margin-top: 14px;
}

/* Contact */
.contact {
  background: var(--ink);
  color: #fff;
}

.contact .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact p.lead {
  color: rgba(255, 255, 255, .75);
  margin-top: 14px;
}

.contact-home {
  background: #0b0b0b;
  background-image: url("images/section-about-dark.png");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.contact-copy {
  padding-right: 18px;
}

.contact-copy p,
.contact-copy li {
  color: rgba(255, 255, 255, .82);
}

.contact-form {
  background: rgba(9, 11, 15, .9);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
  padding: 32px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  font: inherit;
  background: rgba(255, 255, 255, .95);
  color: #171b23;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(23, 27, 35, .6);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--red);
  border-color: transparent;
}

.contact-form button {
  margin-top: 14px;
  width: 100%;
}

.review-slider {
  position: relative;
  overflow: hidden;
}

.review-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.review-arrow:hover,
.review-arrow:focus-visible {
  background: var(--red);
}

.review-arrow.prev {
  left: 8px;
}

.review-arrow.next {
  right: 8px;
}

.review-track {
  display: flex;
  gap: 24px;
  transition: transform .55s ease;
}

.review-track blockquote {
  flex: 0 0 calc((100% - 48px) / 3);
}

@media (max-width: 900px) {
  .review-track blockquote {
    flex-basis: 85%;
  }

  .review-arrow.prev {
    left: 8px;
  }

  .review-arrow.next {
    right: 8px;
  }
}

@media (max-width: 560px) {
  .client-logos {
    grid-template-columns: 1fr;
  }
}

.details {
  list-style: none;
  margin-top: 30px;
}

.details li {
  margin-bottom: 18px;
}

.details .k {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.details .v {
  font-size: 1.25rem;
}

.details a:hover {
  color: var(--red);
}

.form {
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 32px;
}

.form h3 {
  font-size: 1.5rem;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--red);
}

.form button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form .note {
  text-align: center;
  font-size: .8rem;
  color: var(--text-soft);
  margin-top: 10px;
}

footer.site {
  background: var(--ink-soft);
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

@media (max-width: 900px) {
  #primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px 24px 20px;
    background: var(--ink-soft);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
  }

  #primary-navigation.is-open {
    display: flex;
  }

  #primary-navigation>a {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  #primary-navigation>a.btn-red {
    align-self: flex-start;
    margin-top: 12px;
    padding: 9px 16px;
    border-bottom: 0;
  }

  #primary-navigation .submenu-toggle {
    display: block;
    padding: 10px 4px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    min-height: 680px;
    padding-top: 130px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .cards,
  .gallery,
  .stats .wrap {
    grid-template-columns: 1fr;
  }

  .commercial-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .commercial-copy h2 {
    font-size: 2.2rem;
  }

  .quotes blockquote {
    flex-basis: 85%;
  }

  .topbar .wrap {
    display: none;
  }
}

/* ---------- Multi-page additions ---------- */
nav a.active {
  color: var(--red);
}

.menu-toggle {
  display: none;
}

.pagehero {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 60px;
}

.pagehero h1 {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1.05;
  margin-top: 10px;
}

.pagehero .lead {
  color: rgba(255, 255, 255, .75);
  max-width: 640px;
  margin-top: 14px;
}

.pagehero .crumbs {
  margin-top: 22px;
  font-size: .82rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .55);
}

.pagehero .crumbs a {
  color: rgba(255, 255, 255, .8);
}

.pagehero .crumbs a:hover {
  color: var(--red);
}

a.card {
  display: block;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}

a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 24, 31, .12);
}

.card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-weight: 600;
  font-size: .9rem;
}

.card p {
  color: var(--text-soft);
  margin-top: 10px;
}

.steps .card {
  position: relative;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps .step {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--red);
  display: block;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.center {
  text-align: center;
}

.center .btn {
  margin: 6px;
}

.projects .center,
.section .center {
  margin-top: 36px;
}

/* Service detail */
.servicewrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.servicewrap .lead-img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 28px;
}

.servicewrap h2 {
  font-size: 2.1rem;
}

.servicewrap h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-top: 28px;
}

.servicewrap p {
  color: var(--text-soft);
  margin-top: 14px;
}

.servicewrap a {
  color: var(--red);
}

.side-card {
  background: var(--muted);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 22px;
}

.side-card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.side-card ul {
  list-style: none;
}

.side-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.side-card li:last-child {
  border: 0;
}

.side-card li a:hover {
  color: var(--red);
}

.side-card.dark {
  background: var(--ink);
  color: #fff;
}

.side-card.dark p {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 16px;
}

/* Areas */
.pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pills li {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .92rem;
}

.muted-note {
  color: var(--text-soft);
  margin-top: 22px;
}

.muted-note a {
  color: var(--red);
}

/* Reviews footer meta */
blockquote footer span {
  display: block;
  font-weight: 400;
  font-size: .85rem;
  color: var(--text-soft);
  margin-top: 2px;
}

/* Form extras */
.form select {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
}

.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.alert {
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: .92rem;
}

.alert.error {
  background: #fdecec;
  color: #a3221f;
  border: 1px solid #f3c6c4;
}

.alert ul {
  list-style: disc;
  padding-left: 18px;
}

/* Footer columns */
footer.site .footcols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}

footer.site .footcols p {
  margin-top: 14px;
  max-width: 300px;
}

footer.site h4 {
  font-family: var(--display);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: .04em;
}

footer.site ul {
  list-style: none;
}

footer.site li {
  padding: 5px 0;
}

footer.site a:hover {
  color: var(--red);
}

footer.site .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  padding-bottom: 26px;
}

@media (max-width: 900px) {
  .pagehero h1 {
    font-size: 2.3rem;
  }

  .client-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .servicewrap,
  footer.site .footcols {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
  }

  .location-page-links {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.servicewrap a.btn,
.side-card a.btn,
.center a.btn {
  color: #fff;
}

.servicewrap a.btn.btn-dark,
.center a.btn.btn-dark {
  color: #fff;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle .hamburger {
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: currentColor
}

.menu-toggle .hamburger::before {
  top: -7px
}

.menu-toggle .hamburger::after {
  top: 7px
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex
  }

  .wrap.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem
  }

  .wrap.about img {
    width: 100%;
    height: auto;
    max-width: 100%
  }

  .wrap.about>div {
    width: 100%
  }

  footer.site .footcols {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem
  }

  footer.site .legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem
  }
}

.hero-reviews {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border-radius: 999px;
  color: #111;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none
}

.reviews-badge .stars {
  color: #f5c518;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1
}

.reviews-badge .score {
  color: #111;
  margin-left: 0.15rem
}

.reviews-badge .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

@media (max-width:900px) {
  .hero-reviews {
    justify-content: center
  }
}

/* Typing animation styles */
#typed {
  font-weight: 700;
  display: inline-block;
  white-space: nowrap
}

.typed-caret {
  display: inline-block;
  margin-left: 6px;
  color: inherit;
  opacity: 1;
  animation: blink 1s step-end infinite
}

@keyframes blink {
  50% {
    opacity: 0
  }
}

/* Nav submenu styles */
nav {
  position: relative
}

.nav-item {
  position: relative;
  display: inline-block
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: inherit;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 0.25rem 0;
  display: none;
  z-index: 2000;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  display: block
}

.submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none
}

.submenu a:hover {
  background: rgba(0, 0, 0, 0.03)
}

@media (max-width:900px) {
  .submenu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 0
  }

  .nav-item {
    display: block
  }

  .nav-item .submenu {
    display: none
  }

  .nav-item:focus-within .submenu {
    display: block
  }

  .nav-item.submenu-open .submenu {
    display: block
  }
}