/*
 * ARCnow Service Request Styles
 * File: /service-request/service-request.css
 * Depends on: /site.css
 *
 * Scope:
 * - Service Inquiry page-specific graphics and layout only.
 * - Shared header, footer, base typography, and site variables remain in /site.css.
 * - Hero treatment intentionally matches the main website hero: dark navy gradient,
 *   subtle radial glow, and gold diagonal drafting lines.
 */

body {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 120, 200, .18), transparent 34rem),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
  background-attachment: fixed;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 120, 200, .12), transparent 34rem),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
}

/* Main-website-style hero */

.service-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 40px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 0%, rgba(80, 120, 200, .18), transparent 34rem),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 80px, rgba(var(--gold-rgb), .72) 80px, transparent 81px),
    repeating-linear-gradient(-135deg, transparent 0 80px, rgba(var(--gold-rgb), .42) 80px, transparent 81px);
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  pointer-events: none;
  background: rgba(var(--gold-rgb), .42);
}

.service-hero .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0px;
  text-align: center;
}

.service-hero .eyebrow {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.service-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(30px, 7vw, 50px);
  line-height: 1.04;
  letter-spacing: .02em;
  text-align: center;
}

.service-hero p:last-child {
  max-width: 760px;
  margin: 6px auto 0;
  color: rgba(var(--white-rgb), .88);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
  text-align: center;
}

/* Form area */

.service-form-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 32px 50px;
  background: transparent;
}

.service-form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .055;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 92px, rgba(var(--gold-rgb), .90) 92px, transparent 94px),
    repeating-linear-gradient(-135deg, transparent 0 92px, rgba(var(--gold-rgb), .55) 92px, transparent 94px);
}

.service-form-intro {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  text-align: center;
}

.service-form-intro .eyebrow {
  margin: 0 0 10px;
  color: var(--gold-light);
  text-align: center;
}

.service-form-intro h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Cards */

.form-card {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 34px;
  overflow: visible;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 28, 48, .98), rgba(7, 17, 31, .98));
  border: 1px solid rgba(var(--gold-rgb), .58);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .42),
    0 0 22px rgba(var(--gold-rgb), .16),
    inset 0 0 0 1px rgba(var(--white-rgb), .045);
}

.form-card::before,
.form-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.form-card::before {
  left: -12px;
  right: -12px;
  top: -1px;
  bottom: -1px;
  border-top: 1px solid rgba(var(--gold-rgb), .72);
  border-bottom: 1px solid rgba(var(--gold-rgb), .72);
}

.form-card::after {
  top: -12px;
  bottom: -12px;
  left: -1px;
  right: -1px;
  border-left: 1px solid rgba(var(--gold-rgb), .72);
  border-right: 1px solid rgba(var(--gold-rgb), .72);
}

.form-card:hover,
.form-card:focus-within {
  border-color: rgba(var(--gold-rgb), .78);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .48),
    0 0 28px rgba(var(--gold-rgb), .20),
    inset 0 0 0 1px rgba(var(--white-rgb), .055);
}

.card-body {
  position: relative;
  z-index: 4;
  margin-top: 10px;
}

.section-title {
  position: relative;
  z-index: 4;
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .85), transparent);
}

/* Form controls */

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

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

.service-form-shell label {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 700;
}

.service-form-shell input,
.service-form-shell select,
.service-form-shell textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--white);
  background: #101923;
  border: 1px solid rgba(var(--white-rgb), .18);
  box-shadow: inset 0 0 0 1px rgba(var(--white-rgb), .025);
  outline: none;
}

.service-form-shell select {
  color-scheme: dark;
}

.service-form-shell textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.5;
}

.service-form-shell input:focus,
.service-form-shell select:focus,
.service-form-shell textarea:focus {
  border-color: rgba(var(--gold-rgb), .75);
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), .30) inset,
    0 0 18px rgba(var(--gold-rgb), .18);
}

.service-form-shell input::placeholder,
.service-form-shell textarea::placeholder {
  color: rgba(var(--white-rgb), .48);
}

/* Service selections */

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

.service-option {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 132px;
  margin: 0;
  padding: 24px;
  cursor: pointer;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 28, 48, .98), rgba(7, 17, 31, .98));
  border: 1px solid rgba(var(--gold-rgb), .50);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .32),
    0 0 16px rgba(var(--gold-rgb), .10),
    inset 0 0 0 1px rgba(var(--white-rgb), .035);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background .2s ease;
}

.service-option::before,
.service-option::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.service-option::before {
  left: -7px;
  right: -7px;
  top: -1px;
  bottom: -1px;
  border-top: 1px solid rgba(var(--gold-rgb), .52);
  border-bottom: 1px solid rgba(var(--gold-rgb), .52);
}

.service-option::after {
  top: -7px;
  bottom: -7px;
  left: -1px;
  right: -1px;
  border-left: 1px solid rgba(var(--gold-rgb), .52);
  border-right: 1px solid rgba(var(--gold-rgb), .52);
}

.service-option:hover,
.service-option:focus-within {
  transform: translateY(-2px);
  border-color: rgba(var(--gold-rgb), .78);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .40),
    0 0 22px rgba(var(--gold-rgb), .18),
    inset 0 0 0 1px rgba(var(--white-rgb), .045);
}

.service-option input {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.service-option strong {
  display: block;
  color: var(--gold-light);
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
}

.service-option span {
  color: rgba(var(--white-rgb), .76);
  font-size: .94rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.service-option:has(input:checked) {
  border-color: rgba(var(--gold-rgb), .90);
  background:
    linear-gradient(135deg, rgba(32, 43, 63, .98), rgba(7, 17, 31, .98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .42),
    0 0 30px rgba(var(--gold-rgb), .26),
    inset 0 0 0 1px rgba(var(--gold-rgb), .16);
}

.service-option:has(input:checked)::before {
  border-top-color: rgba(var(--gold-rgb), .82);
  border-bottom-color: rgba(var(--gold-rgb), .82);
}

.service-option:has(input:checked)::after {
  border-left-color: rgba(var(--gold-rgb), .82);
  border-right-color: rgba(var(--gold-rgb), .82);
}

/* House plan selections */

.house-plan-intro {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(var(--white-rgb), .76);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.house-plan-intro a {
  color: var(--gold-light);
  font-weight: 700;
  text-underline-offset: 4px;
}

.house-plan-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.house-plan-option {
  min-height: 110px;
  padding: 20px 16px;
  align-content: center;
}

.house-plan-option span {
  font-size: .86rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Actions and status */

.form-actions {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(var(--gold-rgb), .24);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-form-shell button,
.secondary-button {
  min-height: 46px;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(var(--gold-rgb), .62);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    filter .2s ease;
}

.service-form-shell button {
  color: #07111f;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 18px rgba(var(--gold-rgb), .18);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  background: transparent;
}

.service-form-shell button:hover,
.service-form-shell button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--gold-rgb), .92);
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), .16) inset,
    0 0 22px rgba(var(--gold-rgb), .22);
  text-decoration: none;
}

.service-form-shell button:hover,
.service-form-shell button:focus-visible {
  filter: brightness(1.08);
}

.service-form-shell button:disabled {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}

.status-message {
  display: none;
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 16px 18px;
  color: var(--gold-light);
  line-height: 1.5;
  font-weight: 750;
  background:
    linear-gradient(135deg, rgba(16, 28, 48, .96), rgba(7, 17, 31, .96));
  border: 1px solid rgba(var(--gold-rgb), .50);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .30),
    0 0 18px rgba(var(--gold-rgb), .12);
}

.status-message.is-visible {
  display: block;
}

.status-message.is-success {
  color: #dfffe8;
  border-color: rgba(79, 180, 119, .60);
}

.status-message.is-error {
  color: #ffb4a8;
  border-color: rgba(255, 141, 131, .60);
}

/* Responsive */

@media (max-width: 1180px) {
  .house-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 900px) {
  .service-hero {
    min-height: 0;
    padding: 34px 20px;
  }

  .service-form-shell {
    padding: 36px 22px 60px;
  }
}

@media (max-width: 680px) {
  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 22px;
  }

  .service-option {
    min-height: 0;
  }

  .button-row,
  .service-form-shell button,
  .secondary-button {
    width: 100%;
  }
}
