:root {
  --blue: #4055b8;
  --deep-blue: #243f95;
  --ink: #151922;
  --muted: #4f5863;
  --panel: #565d63;
  --lime: #efff00;
  --soft: #f6f8fb;
  --line: #dfe5ef;
  --shadow: 0 14px 34px rgba(20, 28, 48, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Overpass", "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.soft {
  background: var(--soft);
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar .wrap,
.brandbar .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brandbar {
  background: #fff;
  border-bottom: 1px solid #eef1f5;
}

.brand {
  color: var(--blue);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav a,
.services-menu > summary {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:hover,
.services-menu > summary:hover {
  color: var(--blue);
  text-decoration: underline;
}

.services-menu {
  position: relative;
}

.services-menu > summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.services-menu > summary::-webkit-details-marker {
  display: none;
}

.services-menu > summary::after {
  content: " ▾";
  font-size: 11px;
}

.services-menu[open] > summary {
  color: var(--blue);
}

.services-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 16px);
  left: 50%;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.services-dropdown a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  line-height: 1.25;
}

.services-dropdown a:hover {
  background: var(--soft);
  text-decoration: none;
}

.call-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.52);
}

.btn.lime {
  background: var(--lime);
  color: #111;
  border-radius: 999px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.btn.white {
  min-height: 36px;
  border-radius: 0;
  background: #fff;
  color: #111;
  box-shadow: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #222 url("assets/hero-tile.jpg") center / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 24, 36, 0.72), rgba(12, 10, 8, 0.56));
}

.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  min-height: 620px;
  margin: 0 auto;
  padding: 120px 24px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  align-items: center;
  gap: 72px;
}

.tag-ribbon {
  display: inline-block;
  padding: 5px 48px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: var(--blue);
  color: #fff;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 26px;
  line-height: 1;
  transform: rotate(-4deg);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.hero h1 {
  max-width: 520px;
  margin: 20px 0 18px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  max-width: 610px;
  margin: 0 0 24px;
  font-weight: 700;
}

.quote-card,
.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 42px 34px;
}

.quote-card h2,
.contact-form h2 {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.25;
}

.field {
  display: block;
  width: 100%;
  margin: 0 0 20px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #777;
  font: inherit;
  color: var(--ink);
  background: transparent;
}

.service-options {
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
}

.service-options legend {
  margin: 0 0 10px;
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 800;
}

.service-options label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.service-options input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  flex: 0 0 auto;
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 700;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 82px 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 80px;
}

.split.reverse {
  grid-template-columns: 430px 1fr;
}

.split h2,
.service h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.2;
}

.company h2 {
  color: #111;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 42px;
}

.eyebrow {
  color: var(--blue);
  text-decoration: underline;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
  margin-top: 36px;
  color: #283043;
  font-size: 14px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.service-band {
  position: relative;
  overflow: hidden;
}

.service-band::before,
.service-band::after {
  content: "";
  position: absolute;
  width: 25vw;
  height: 360px;
  background: var(--blue);
  z-index: -1;
}

.service-band::before {
  left: 0;
  top: 150px;
}

.service-band::after {
  right: 0;
  top: 520px;
}

.service {
  max-width: 900px;
  margin: 0 auto 116px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 100px;
}

.service:nth-child(even) {
  grid-template-columns: 1fr 330px;
}

.service:nth-child(even) .service-media {
  order: 2;
}

.service img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.service h2 {
  color: #56606d;
  font-size: 44px;
  text-transform: none;
}

.service h2 a {
  color: inherit;
  text-decoration: none;
}

.service h2 a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.service h2.caps {
  text-transform: uppercase;
}

.cta-process {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 84px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 5px solid #3b3c78;
  background: #111;
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 40px;
  border-radius: 12px;
  background: #ff0000;
  transform: translate(-50%, -50%);
}

.play::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 11px;
  border-left: 15px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.page-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 24px 72px;
}

.page-main h1 {
  margin: 0 0 12px;
  color: var(--deep-blue);
  font-size: 44px;
  line-height: 1.1;
}

.blog-top-bg {
  width: min(560px, 78vw);
  aspect-ratio: 860 / 529;
  margin: 8px auto -18px;
  background-color: transparent;
  background-image: url("assets/carpet-cleaning-concord-ca-blogs.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}

.blog-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 22px;
  max-width: 860px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.blog-card__bg {
  display: block;
  width: 168px;
  height: auto;
  aspect-ratio: 860 / 529;
  border-radius: 6px;
  background-color: #fff;
  background-image: url("assets/carpet-cleaning-concord-ca-blogs.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.blog-card img {
  width: 168px;
  height: 126px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
}

.blog-card h2 {
  margin: 0 0 8px;
  color: var(--deep-blue);
  font-size: 26px;
  line-height: 1.25;
}

.blog-card p {
  margin: 0 0 14px;
}

.blog-card .btn {
  min-height: 38px;
  box-shadow: none;
}

.contact-hero {
  min-height: 300px;
  background: linear-gradient(rgba(0,0,0,.48), rgba(0,0,0,.48)), url("assets/rotovac.jpg") center / cover no-repeat;
  color: #fff;
}

.contact-hero .section {
  padding-top: 92px;
  padding-bottom: 92px;
}

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

.contact-panel {
  min-height: 260px;
  padding: 46px 40px;
  background: var(--blue);
  color: #050505;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.45;
}

.privacy {
  max-width: 880px;
  font-size: 14px;
}

.article {
  max-width: 820px;
}

.article figure {
  margin: 34px 0;
}

.article figure img {
  width: min(720px, 100%);
  border-radius: 8px;
}

.article figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.service-page-hero {
  background: var(--soft);
}

.service-page-hero .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
}

.service-page-hero h1 {
  margin: 0 0 18px;
  color: var(--deep-blue);
  font-size: 44px;
  line-height: 1.1;
}

.service-page-hero img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.seo-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 62px 24px;
}

.seo-block h2 {
  color: var(--deep-blue);
  font-size: 30px;
  line-height: 1.2;
}

.seo-block h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0 44px;
}

.intent-grid > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(20, 28, 48, 0.06);
}

.intent-grid ul,
.intent-grid ol {
  margin: 0;
  padding-left: 20px;
}

.intent-grid li + li {
  margin-top: 8px;
}

.related-services {
  margin: 42px 0;
}

.related-services > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-services a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--deep-blue);
  font-weight: 800;
  text-decoration: none;
}

.related-services a:hover {
  border-color: var(--blue);
  background: var(--soft);
}

.faq-list {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  color: var(--deep-blue);
  font-weight: 800;
}

.privacy h1 {
  color: #111;
  font-size: 34px;
}

.privacy h3 {
  margin: 26px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.map {
  height: 250px;
  overflow: hidden;
  background: #d6eef0;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-hero {
  background: var(--panel);
  border-top: 150px solid #fff;
}

.footer-hero .wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: start;
  transform: translateY(-102px);
  margin-bottom: -102px;
}

.footer-hero img {
  width: 360px;
  border: 12px solid var(--blue);
}

.footer-hero .thin {
  margin-top: 0;
  margin-bottom: 26px;
  color: #707070;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 58px;
  font-weight: 200;
}

.footer-hero h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: 46px;
  line-height: 1.05;
}

.site-footer {
  background: var(--panel);
  color: #fff;
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 54px 24px 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px;
}

.site-footer h3 {
  margin: 0 0 28px;
  color: var(--lime);
  font-size: 17px;
  text-transform: uppercase;
}

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

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .topbar .wrap,
  .brandbar .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .brand {
    font-size: 25px;
    line-height: 1.15;
  }

  .call-btn {
    min-height: 36px;
    padding: 0 18px;
  }

  .services-menu {
    position: static;
    width: auto;
  }

  .services-menu[open] {
    width: 100%;
  }

  .services-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    transform: none;
    box-shadow: none;
  }

  .hero .wrap,
  .service-page-hero .wrap,
  .split,
  .split.reverse,
  .service,
  .service:nth-child(even),
  .cta-process,
  .contact-grid,
  .footer-hero .wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero .wrap {
    min-height: auto;
  }

  .hero h1 {
    font-size: 38px;
  }

  .quote-card {
    padding: 30px 22px;
  }

  .service:nth-child(even) .service-media {
    order: 0;
  }

  .service-band::before,
  .service-band::after {
    display: none;
  }

  .service {
    gap: 28px;
    margin-bottom: 70px;
  }

  .service h2 {
    font-size: 34px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .intent-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card__bg,
  .blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .footer-hero img {
    width: 100%;
  }

  .footer-hero {
    border-top-width: 80px;
  }

  .footer-hero .wrap {
    transform: translateY(-54px);
    margin-bottom: -54px;
  }

  .footer-hero .thin {
    font-size: 40px;
  }
}
