:root {
  --cd-green: #78b943;
  --cd-green-dark: #3e7627;
  --cd-orange: #f47721;
  --cd-orange-dark: #c94e0b;
  --cd-charcoal: #333333;
  --cd-shadow: 0 18px 50px rgba(51, 51, 51, 0.12);
  --cd-border: #dde5d8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a, button, input, select, textarea { transition: 160ms ease; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cd-orange);
  outline-offset: 3px;
}

.cd-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--cd-border);
  background: rgba(255, 255, 255, 0.98);
}

.cd-header .wp-block-site-logo img {
  width: auto;
  max-height: 76px;
}

.cd-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 185, 67, 0.22), transparent 30rem),
    linear-gradient(135deg, #eef7e8 0%, #ffffff 70%);
}

.cd-eyebrow {
  color: var(--cd-green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cd-card {
  height: 100%;
  border: 1px solid var(--cd-border);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 30px rgba(51, 51, 51, 0.07);
}

.cd-card h2:first-child,
.cd-card h3:first-child {
  margin-top: 0;
}

.cd-card p:last-child,
.cd-card ul:last-child {
  margin-bottom: 0;
}

.cd-step {
  border-left: 4px solid var(--cd-orange);
  padding-left: 1.25rem;
}

.cd-process {
  border-radius: 1.5rem;
}

.cd-step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cd-orange);
  color: #fff;
  font-weight: 850;
}

.cd-proof {
  border-radius: 1.5rem;
  box-shadow: var(--cd-shadow);
}

.cd-result-image img {
  border-radius: 0.9rem;
}

.cd-footer a { color: #fff; }
.cd-footer a:hover { color: #f8b27e; }

.has-green-background-color a:not(.wp-block-button__link) {
  color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

@media (max-width: 781px) {
  .cd-header .wp-block-navigation { font-size: 0.95rem; }
  .cd-header .wp-block-site-logo img { max-height: 58px; }
  .cd-hero { text-align: left; }
  .cd-header > .wp-block-group {
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.cd-header .wp-block-navigation-item__content {
  color: var(--cd-charcoal);
  text-decoration: none;
}

.cd-header .wp-block-navigation-item__content:hover {
  color: var(--cd-green-dark);
}

.cd-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.cd-location-finder label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cd-charcoal);
  font-weight: 750;
}

.cd-location-finder__controls {
  display: flex;
  gap: 0.75rem;
}

.cd-location-finder input {
  min-width: 0;
  flex: 1;
  border: 2px solid #aab9a2;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font: inherit;
}

.cd-location-finder button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--cd-orange);
  color: var(--cd-charcoal);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.cd-location-finder button:hover { background: var(--cd-orange-dark); }

.cd-location-finder__results {
  margin-top: 1rem;
  border-top: 1px solid var(--cd-border);
  padding-top: 1rem;
}

.cd-request-form {
  margin-top: 2rem;
  border: 1px solid var(--cd-border);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #fff;
  box-shadow: var(--cd-shadow);
}

.cd-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.cd-field {
  margin: 0;
}

.cd-field--wide {
  grid-column: 1 / -1;
}

.cd-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cd-charcoal);
  font-weight: 750;
}

.cd-field input,
.cd-field select,
.cd-field textarea {
  width: 100%;
  border: 2px solid #aab9a2;
  border-radius: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #fff;
  color: var(--cd-charcoal);
  font: inherit;
}

.cd-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.cd-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.cd-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--cd-green-dark);
}

.cd-form-help {
  color: #5b6657;
  font-size: 0.9rem;
}

.cd-form-submit {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  background: var(--cd-orange);
  color: var(--cd-charcoal);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cd-form-submit:hover {
  background: var(--cd-orange-dark);
}

.cd-form-notice {
  margin: 1.5rem 0;
  border-left: 5px solid var(--cd-green-dark);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  background: #eef7e8;
}

.cd-form-notice--error {
  border-left-color: var(--cd-orange-dark);
  background: #fff3eb;
}

.cd-form-notice h2 {
  margin-top: 0;
}

.cd-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 620px) {
  .cd-location-finder__controls { align-items: stretch; flex-direction: column; }
  .cd-location-finder button { width: 100%; }
  .cd-form-grid { grid-template-columns: 1fr; }
  .cd-field--wide { grid-column: auto; }
  .cd-form-submit { width: 100%; }
}
