/* Project inquiry and service qualification experience. */

.service-inquiry-page {
  background: var(--bg);
}

html[data-theme="light"] .service-inquiry-page {
  --muted: #493c54;
  --line: rgba(28, 15, 41, 0.26);
  --line-strong: rgba(28, 15, 41, 0.48);
}

.service-inquiry-page h1,
.service-inquiry-page h2,
.service-inquiry-page h3,
.service-inquiry-page legend {
  color: var(--ink);
}

.service-inquiry-page h1,
.service-inquiry-page h2 {
  text-transform: none;
}

.service-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(168, 130, 187, 0.2), transparent 34%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 58%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  padding: 170px 0 100px;
}

.service-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
}

.service-hero-grid > * {
  min-width: 0;
}

.service-hero-copy h1 {
  font-size: clamp(3.5rem, 7.8vw, 7.8rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  max-width: none;
  overflow-wrap: normal;
}

.service-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.service-hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  max-width: 680px;
}

.service-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.service-trust-row span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 8px 12px;
}

.service-agency-note {
  background: var(--brand-plum);
  border: 1px solid rgba(255, 245, 225, 0.16);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px);
}

.service-agency-note h2,
.service-agency-note p {
  color: var(--brand-cream);
}

.service-agency-note h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  overflow-wrap: normal;
}

.service-agency-note .eyebrow {
  color: var(--brand-gold);
}

.service-agency-note p {
  line-height: 1.65;
  opacity: 0.82;
}

.service-menu-section {
  padding-bottom: 88px;
}

.service-heading {
  max-width: 820px;
}

.service-heading h2,
.service-process-grid h2,
.brief-intro h2,
.service-terms-grid h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.service-offer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.service-offer-card.featured {
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--brand-lavender) 16%, var(--brand-plum-soft)),
    var(--brand-plum-soft)
  );
  border-color: color-mix(in srgb, var(--brand-gold) 42%, var(--line));
  box-shadow: 0 18px 42px rgba(8, 3, 14, 0.28);
}

.service-offer-card.featured h3,
.service-offer-card.featured p,
.service-offer-card.featured li {
  color: var(--brand-cream);
}

.service-offer-card.featured .eyebrow,
.service-offer-card.featured .service-price {
  color: var(--brand-gold);
}

.service-offer-card.featured .service-price span {
  color: var(--brand-muted-dark);
}

.service-offer-card.consultation-card {
  scroll-margin-top: 7rem;
  background: linear-gradient(150deg, var(--white), color-mix(in srgb, var(--brand-lavender) 18%, var(--white)));
}

.service-offer-card h3 {
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  margin-top: 2px;
}

.service-offer-card ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 6px 0 28px;
  padding-left: 19px;
}

.service-offer-card li + li {
  margin-top: 4px;
}

.service-price {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: auto 0 0;
}

.service-price span {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

.consultation-checkout-button {
  align-self: flex-start;
  margin-top: 20px;
}

.consultation-schedule-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  margin: 12px 0 0;
}

.service-process-section {
  background: var(--brand-plum);
  color: var(--brand-cream);
}

.service-process-grid {
  display: grid;
  gap: clamp(48px, 9vw, 120px);
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
}

.service-process-grid h2,
.service-process-grid h3,
.service-process-grid p {
  color: var(--brand-cream);
}

.service-process-grid .eyebrow {
  color: var(--brand-gold);
}

.service-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-process-list li {
  border-top: 1px solid rgba(255, 245, 225, 0.18);
  display: grid;
  gap: 24px;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 28px 0;
}

.service-process-list li:last-child {
  border-bottom: 1px solid rgba(255, 245, 225, 0.18);
}

.service-process-list > li > span {
  color: var(--brand-gold);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-process-list h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-process-list p {
  margin: 0;
  opacity: 0.78;
}

.service-brief-section {
  background: var(--bg-soft);
}

.brief-layout {
  align-items: start;
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1.42fr);
}

.brief-intro {
  position: sticky;
  top: 120px;
}

.brief-readiness,
.collaboration-window {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 24px;
}

.brief-readiness h3,
.collaboration-window h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brief-readiness ul {
  color: var(--muted);
  padding-left: 20px;
}

.collaboration-window p {
  font-size: 0.88rem;
  margin-bottom: 5px;
}

.brief-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.brief-progress {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 34px;
}

.brief-progress span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 22px 8px;
  position: relative;
  text-transform: uppercase;
}

.brief-progress span::after {
  background: transparent;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 8px;
  position: absolute;
  right: 8px;
}

.brief-progress span.is-current,
.brief-progress span.is-complete {
  color: var(--ink);
}

.brief-progress span.is-current::after {
  background: var(--gold);
}

.brief-progress b {
  align-items: center;
  background: var(--bg-soft);
  border-radius: 50%;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.brief-progress span.is-current b,
.brief-progress span.is-complete b {
  background: var(--brand-plum);
  color: var(--brand-cream);
}

.brief-step {
  padding: clamp(26px, 5vw, 54px);
}

.brief-step[hidden],
.brief-confirmation[hidden],
.rush-notice[hidden] {
  display: none;
}

.service-inquiry-form fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.service-inquiry-form legend {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  margin-bottom: 12px;
  padding: 0;
}

.field-intro {
  margin-bottom: 30px;
  max-width: 640px;
}

.field-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-group {
  min-width: 0;
}

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

.service-inquiry-form label {
  margin-bottom: 8px;
}

.service-inquiry-form input,
.service-inquiry-form select,
.service-inquiry-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0;
  min-height: 52px;
  padding: 13px 14px;
}

.service-inquiry-form textarea {
  min-height: 120px;
}

.service-inquiry-form input:hover,
.service-inquiry-form select:hover,
.service-inquiry-form textarea:hover {
  border-color: var(--line-strong);
}

.service-inquiry-form :is(input, select, textarea).is-invalid {
  border-color: #b93333;
  box-shadow: 0 0 0 3px rgba(185, 51, 51, 0.12);
}

.field-hint {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  margin-top: 7px;
}

.package-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 32px;
}

.package-options label {
  margin: 0;
  position: relative;
}

.package-options input {
  height: 1px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.package-options span {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 92px;
  padding: 18px;
  text-transform: none;
}

.package-options b {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.package-options small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 6px;
}

.package-options input:checked + span {
  background: color-mix(in srgb, var(--brand-gold) 13%, var(--bg));
  border-color: var(--gold);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 38%, transparent);
}

.package-options input:focus-visible + span {
  outline: 3px solid var(--brand-lavender);
  outline-offset: 3px;
}

.brief-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 36px;
  padding-top: 26px;
}

.brief-actions .btn {
  min-width: 160px;
}

.rush-notice {
  background: color-mix(in srgb, var(--brand-gold) 13%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--brand-gold) 52%, var(--line));
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.86rem;
  margin-top: 24px;
  padding: 14px 16px;
}

.consent-row {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  margin: 24px 0 0;
  text-transform: none;
}

.consent-row input {
  height: 20px;
  margin: 2px 0 0;
  min-height: 20px;
  padding: 0;
  width: 20px;
}

.consent-row span {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
}

.form-honeypot {
  left: -9999px;
  position: absolute;
}

.form-status {
  font-size: 0.86rem;
  margin: 18px 0 0;
  text-align: right;
}

.form-status.is-error {
  color: #a12525;
}

.form-status.is-sending {
  color: var(--gold-dark);
}

.brief-confirmation {
  padding: clamp(36px, 7vw, 74px);
}

.confirmation-mark {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: var(--brand-plum);
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  margin-bottom: 28px;
  width: 54px;
}

.brief-confirmation h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.brief-confirmation > p:not(.eyebrow) {
  font-size: 1.08rem;
  max-width: 650px;
}

.confirmation-next {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 30px 0;
  padding: 24px 0;
}

.confirmation-next h3 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confirmation-next ol {
  color: var(--muted);
  margin-bottom: 0;
  padding-left: 20px;
}

.service-terms-section {
  padding-bottom: 130px;
}

.service-terms-grid {
  display: grid;
  gap: clamp(46px, 8vw, 110px);
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.service-terms-list {
  border-top: 1px solid var(--line);
}

.service-terms-list article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
  padding: 24px 0;
}

.service-terms-list h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
}

.service-terms-list p {
  margin: 0;
}

.service-footer-contact a {
  color: var(--brand-gold);
  word-break: break-word;
}

html[data-theme="dark"] .service-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(168, 130, 187, 0.18), transparent 34%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg) 58%, var(--bg-soft) 100%);
}

html[data-theme="dark"] .service-offer-card.consultation-card {
  background: linear-gradient(150deg, var(--white), color-mix(in srgb, var(--brand-lavender) 14%, var(--white)));
}

html[data-theme="dark"] .service-inquiry-form input,
html[data-theme="dark"] .service-inquiry-form select,
html[data-theme="dark"] .service-inquiry-form textarea,
html[data-theme="dark"] .package-options span {
  background: var(--brand-plum);
  color: var(--ink);
}

html[data-theme="light"] .service-inquiry-form input,
html[data-theme="light"] .service-inquiry-form select,
html[data-theme="light"] .service-inquiry-form textarea,
html[data-theme="light"] .package-options span {
  background: var(--brand-cream-raised);
  color: var(--brand-plum);
}

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

  .brief-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .brief-intro {
    max-width: 760px;
    position: static;
  }
}

@media (max-width: 1100px) {
  .service-hero-grid {
    gap: 32px;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .service-hero-copy h1 {
    font-size: clamp(3.5rem, 7vw, 5.8rem);
    letter-spacing: -0.045em;
  }

  .service-agency-note {
    padding: 28px;
  }

  .service-agency-note h2 {
    font-size: clamp(1.8rem, 2.65vw, 2.35rem);
  }
}

@media (max-width: 880px) {
  .service-hero-grid {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 760px) {
  .service-hero {
    padding: 118px 0 70px;
  }

  .service-hero-grid,
  .service-process-grid,
  .service-terms-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-hero-copy h1 {
    font-size: clamp(3rem, 11.5vw, 5.4rem);
  }

  .service-offer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-offer-card {
    min-height: 0;
  }

  .field-grid,
  .package-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .brief-progress {
    padding: 0 14px;
  }

  .brief-progress span {
    font-size: 0.66rem;
    gap: 5px;
    padding: 16px 4px;
  }

  .brief-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .brief-actions .btn {
    width: 100%;
  }

  .service-terms-list article {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .service-hero-copy h1 {
    font-size: clamp(2.7rem, 12.5vw, 3rem);
  }

  .service-agency-note,
  .service-offer-card,
  .brief-step,
  .brief-confirmation {
    border-radius: 14px;
    padding: 22px;
  }

  .brief-form-card {
    border-radius: 14px;
  }

  .brief-progress span {
    align-items: center;
    flex-direction: column;
  }
}
