/* =========================================================
   RENQUA DEVELOPMENT / WORKS PAGES 20260910
   Scoped additions for the development-service rollout.
   Existing home.css / style.css are intentionally untouched.
   ========================================================= */

.rq-development-page .rq-page-hero,
.rq-works-page .rq-page-hero {
  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(198, 229, 202, 0.34),
      transparent 28rem
    ),
    radial-gradient(
      circle at 90% 16%,
      rgba(255, 239, 190, 0.28),
      transparent 28rem
    ),
    #f8fbf7;
  border-bottom: 1px solid rgba(61, 98, 70, 0.09);
}

.rq-dev-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 88px;
}

.rq-dev-section {
  padding: 34px 0 42px;
}

.rq-dev-section + .rq-dev-section {
  border-top: 1px solid rgba(61, 98, 70, 0.08);
}

.rq-dev-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.rq-dev-heading .rq-eyebrow {
  margin-bottom: 7px;
}

.rq-dev-heading h2 {
  margin: 0;
  color: #26372c;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.rq-dev-heading p {
  margin: 12px 0 0;
  color: #617068;
  line-height: 1.85;
}

.rq-dev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.rq-dev-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(52, 104, 63, 0.20);
  border-radius: 999px;
  color: #34683f;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(43, 68, 50, 0.05);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.rq-dev-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(43, 68, 50, 0.09);
}

.rq-dev-button--primary {
  color: #fff;
  border-color: #3f7b4d;
  background: #3f7b4d;
}

.rq-dev-button--primary:hover {
  background: #34683f;
}

.rq-dev-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rq-dev-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rq-dev-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(61, 98, 70, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 36px rgba(43, 68, 50, 0.06);
}

.rq-dev-card--link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.rq-dev-card--link:hover {
  transform: translateY(-3px);
  border-color: rgba(60, 122, 75, 0.24);
  box-shadow: 0 18px 38px rgba(43, 68, 50, 0.09);
}

.rq-dev-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 15px;
  color: var(--rq-green-800);
  background: var(--rq-green-100);
  font-weight: 800;
}

.rq-dev-card:nth-child(2) .rq-dev-card__icon {
  background: var(--rq-yellow-soft);
}

.rq-dev-card:nth-child(3) .rq-dev-card__icon {
  background: var(--rq-blue-soft);
}

.rq-dev-card:nth-child(4) .rq-dev-card__icon {
  background: var(--rq-purple-soft);
}

.rq-dev-card h3 {
  margin: 0 0 8px;
  color: #2c4033;
  font-size: 1.08rem;
  line-height: 1.45;
}

.rq-dev-card p {
  margin: 0;
  color: #64736b;
  font-size: 0.82rem;
  line-height: 1.75;
}

.rq-dev-card__more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--rq-green-800);
  font-size: 0.74rem;
  font-weight: 800;
}

.rq-dev-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(61, 98, 70, 0.10);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 86% 16%,
      rgba(255, 244, 207, 0.80),
      transparent 16rem
    ),
    linear-gradient(135deg, #f3faf6, #eef7f1);
  box-shadow: 0 18px 48px rgba(43, 68, 50, 0.07);
}

.rq-dev-callout h2,
.rq-dev-callout h3 {
  margin: 0;
  color: #285239;
  letter-spacing: -0.035em;
}

.rq-dev-callout h2 {
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.rq-dev-callout h3 {
  font-size: 1.3rem;
}

.rq-dev-callout p {
  margin: 12px 0 0;
  color: #5d6f65;
  line-height: 1.85;
}

.rq-dev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: center;
}

.rq-dev-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(61, 98, 70, 0.10);
  border-radius: 999px;
  color: #42604b;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
}

.rq-dev-list {
  margin: 15px 0 0;
  padding-left: 1.2em;
  color: #617068;
}

.rq-dev-list li {
  margin: 7px 0;
  line-height: 1.75;
}

.rq-dev-work {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(61, 98, 70, 0.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(43, 68, 50, 0.06);
}

.rq-dev-work__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.rq-dev-work__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: #397146;
  background: #edf7ef;
  font-size: 0.63rem;
  font-weight: 800;
}

.rq-dev-work__badge--type {
  color: #7656a5;
  background: var(--rq-purple-soft);
}

.rq-dev-work h3 {
  margin: 0 0 8px;
  color: #2a4032;
  font-size: 1.25rem;
}

.rq-dev-work p {
  margin: 0;
  color: #64736b;
  font-size: 0.82rem;
  line-height: 1.8;
}

.rq-dev-work dl {
  margin: 18px 0 0;
}

.rq-dev-work dt {
  margin-top: 12px;
  color: #365943;
  font-size: 0.72rem;
  font-weight: 800;
}

.rq-dev-work dd {
  margin: 4px 0 0;
  color: #66756d;
  font-size: 0.78rem;
  line-height: 1.7;
}

.rq-dev-work__link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--rq-green-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.rq-dev-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rq-dev-step {
  padding: 20px;
  border: 1px solid rgba(61, 98, 70, 0.09);
  border-radius: 20px;
  background: #fbfcfb;
}

.rq-dev-step__number {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 11px;
  border-radius: 50%;
  color: var(--rq-green-800);
  background: var(--rq-green-100);
  font-size: 0.64rem;
  font-weight: 800;
}

.rq-dev-step strong {
  display: block;
  color: #314b39;
  font-size: 0.95rem;
}

.rq-dev-step p {
  margin: 7px 0 0;
  color: #6a776f;
  font-size: 0.76rem;
  line-height: 1.7;
}

.rq-dev-cta {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(
      circle at 86% 20%,
      rgba(245, 198, 92, 0.26),
      transparent 18rem
    ),
    linear-gradient(135deg, #075f4e, #087259);
  box-shadow: 0 22px 52px rgba(7, 95, 78, 0.18);
}

.rq-dev-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.04em;
}

.rq-dev-cta p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.rq-dev-cta .rq-dev-button--primary {
  color: var(--rq-green-900);
  border-color: #fff;
  background: #fff;
}

.rq-dev-cta .rq-dev-button--primary:hover {
  background: #f5fbf8;
}

/* Homepage: one compact development-services entry only. */
.rq-home-development {
  padding: 10px 0 34px;
}

.rq-home-development__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(61, 98, 70, 0.10);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(255, 244, 207, 0.70),
      transparent 16rem
    ),
    linear-gradient(135deg, #f5fbf7, #edf7f1);
  box-shadow: var(--rq-shadow-soft);
}

.rq-home-development__panel h2 {
  margin: 3px 0 9px;
  color: #285239;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.rq-home-development__panel p {
  max-width: 680px;
  margin: 0;
  color: #607069;
  font-size: 0.83rem;
  line-height: 1.8;
}

.rq-home-development__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 17px;
}

.rq-home-development__links a {
  color: var(--rq-green-800);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.rq-home-development__visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rq-home-development__visual span {
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(61, 98, 70, 0.09);
  border-radius: 18px;
  color: #42604b;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 800;
}

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

  .rq-dev-callout,
  .rq-home-development__panel {
    grid-template-columns: 1fr;
  }

  .rq-home-development__visual {
    max-width: 420px;
  }
}

@media (max-width: 540px) {
  .rq-development-page .rq-page-hero h1,
  .rq-development-page .rq-page-hero .site-hero__title {
    font-size: 1.9rem;
    line-height: 1.22;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .rq-development-page .rq-dev-title-chunk {
    display: inline-block;
    white-space: nowrap;
  }

  .rq-dev-main {
    width: calc(100% - 28px);
    padding-top: 6px;
    padding-bottom: 64px;
  }

  .rq-dev-section {
    padding: 27px 0 32px;
  }

  .rq-dev-heading {
    margin-bottom: 17px;
  }

  .rq-dev-heading h2 {
    font-size: 1.45rem;
  }

  .rq-dev-grid,
  .rq-dev-grid--three,
  .rq-dev-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rq-dev-card,
  .rq-dev-work,
  .rq-dev-step {
    padding: 18px;
    border-radius: 19px;
  }

  .rq-dev-callout {
    gap: 18px;
    padding: 22px;
    border-radius: 22px;
  }

  .rq-dev-callout h2 {
    font-size: 1.55rem;
  }

  .rq-dev-cta {
    padding: 24px 20px;
    border-radius: 23px;
  }

  .rq-dev-cta h2 {
    font-size: 1.65rem;
  }

  .rq-dev-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .rq-dev-button {
    width: 100%;
  }

  .rq-home-development {
    padding: 4px 0 25px;
  }

  .rq-home-development__panel {
    gap: 18px;
    padding: 20px;
    border-radius: 22px;
  }

  .rq-home-development__panel h2 {
    font-size: 1.38rem;
  }

  .rq-home-development__links {
    gap: 10px 14px;
    margin-top: 13px;
  }

  .rq-home-development__visual span {
    min-height: 58px;
    border-radius: 15px;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq-dev-button,
  .rq-dev-card--link {
    transition-duration: 0.01ms !important;
  }
}
