/* Sample site for a fictional septic company. Deliberately a different
   look from the agency site: navy and white, system fonts, a blue call
   button, rounded photo cards. */

:root {
  --navy: #13294b;
  --navy-2: #0c1d38;
  --blue: #1d5fd1;
  --blue-press: #174eb0;
  --sky: #eaf1fb;
  --ink: #18212f;
  --gray: #556173;
  --rule: #d8dee8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.d-wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 32px);
}

.sample-banner {
  padding: 8px 16px;
  background: #fff6d6;
  color: #4a3b00;
  font-size: 0.875rem;
  text-align: center;
}

.sample-banner a {
  color: inherit;
  font-weight: 700;
}

.d-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--navy);
  color: #fff;
}

.d-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.d-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.d-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.d-call:hover {
  background: var(--blue-press);
}

.d-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 26em) {
  .d-name {
    font-size: 1.05rem;
  }

  .d-call {
    padding-inline: 12px;
    font-size: 0.9375rem;
  }
}

.d-hero {
  background: var(--navy);
  color: #fff;
  padding-block: 40px 56px;
}

.d-hero-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 60em) {
  .d-hero {
    padding-block: 64px 80px;
  }

  .d-hero-grid {
    grid-template-columns: 1fr 560px;
    align-items: center;
    gap: 56px;
  }
}

.d-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.d-hero p {
  max-width: 50ch;
  margin-top: 18px;
  color: #d5deeb;
}

.d-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.d-btn-call {
  background: var(--blue);
  color: #fff;
}

.d-btn-call:hover {
  background: var(--blue-press);
}

.d-btn-ghost {
  border-color: rgb(255 255 255 / 0.6);
  color: #fff;
}

.d-hero-img {
  width: 100%;
  border-radius: 12px;
}

.d-trust {
  border-bottom: 1px solid var(--rule);
  background: var(--sky);
}

.d-trust-row {
  display: grid;
  gap: 4px 32px;
  padding-block: 18px;
  color: var(--gray);
}

@media (min-width: 48em) {
  .d-trust-row {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }
}

.d-trust strong {
  color: var(--navy);
}

.d-section {
  padding-block: clamp(48px, 7vw, 88px);
}

.d-section h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.d-sub {
  max-width: 56ch;
  margin-top: 10px;
  color: var(--gray);
}

.d-services {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 40em) {
  .d-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .d-services {
    grid-template-columns: repeat(4, 1fr);
  }
}

.d-services li {
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 12px;
}

.d-services img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.d-services li > div {
  padding: 18px 20px 22px;
}

.d-services h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.d-services p {
  margin-top: 6px;
  color: var(--gray);
  font-size: 0.975rem;
}

.d-people {
  background: var(--sky);
}

.d-people-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 60em) {
  .d-people-grid {
    grid-template-columns: 540px 1fr;
    align-items: center;
    gap: 56px;
  }
}

.d-people img {
  border-radius: 12px;
}

.d-check {
  margin-top: 20px;
}

.d-check li {
  position: relative;
  padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--rule);
}

.d-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.d-chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 600;
}

.d-request {
  border-top: 1px solid var(--rule);
}

.d-request-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 60em) {
  .d-request-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
  }
}

.d-form {
  display: grid;
  gap: 16px;
}

@media (min-width: 40em) {
  .d-form {
    grid-template-columns: 1fr 1fr;
  }
}

.d-full {
  grid-column: 1 / -1;
}

.d-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.d-form input,
.d-form select,
.d-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #8592a6;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}

.d-form-note {
  color: var(--navy);
  font-weight: 700;
}

.d-footer {
  padding-block: 32px;
  background: var(--navy-2);
  color: #c9d3e3;
  font-size: 0.9375rem;
}

.d-footer p + p {
  margin-top: 6px;
}

.d-footer a {
  color: #fff;
}
