/* service-page.css — Shared styles for all service landing pages */

/* ── Hero ────────────────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  background: var(--forest);
  padding-block: clamp(var(--sp-10), 7vw, var(--sp-20));
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(107,122,58,0.05) 40px, rgba(107,122,58,0.05) 41px
  );
}
.svc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
  text-decoration: none;
  margin-bottom: var(--sp-5);
}
.back-link:hover { color: var(--offwhite); }

.svc-icon-wrap {
  width: 58px; height: 58px;
  border: 2px solid rgba(107,122,58,0.5);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  margin-bottom: var(--sp-5);
}
.svc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--offwhite);
  line-height: 1.05;
  margin-bottom: var(--sp-4);
}
.svc-hero-sub {
  font-size: var(--text-base);
  color: rgba(244,242,234,0.7);
  max-width: 56ch;
  line-height: 1.65;
}

/* ── Info + Form layout ──────────────────────────────────────────── */
.svc-info {
  padding-block: clamp(var(--sp-12), 7vw, var(--sp-20));
  background: var(--color-bg);
}
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(var(--sp-10), 6vw, var(--sp-16));
  align-items: start;
}
@media (max-width: 860px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-form-col { order: -1; }
}

/* ── Left side info ──────────────────────────────────────────────── */
.svc-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}
.svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.svc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.svc-bullets li::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  background: var(--yellow);
  border-radius: 1px;
  margin-top: 6px;
  flex-shrink: 0;
  transform: rotate(45deg);
}
.svc-warning-box {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: rgba(255,196,0,0.07);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.svc-warning-box svg { color: var(--yellow); flex-shrink: 0; margin-top: 1px; }

/* ── Form card ──────────────────────────────────────────────────── */
.svc-form-col { position: sticky; top: 5rem; }
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-card-header {
  background: var(--forest);
  padding: var(--sp-6) var(--sp-8);
  border-bottom: 3px solid var(--yellow);
}
.form-card-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: var(--sp-2);
}
.form-card-header p {
  font-size: var(--text-sm);
  color: rgba(244,242,234,0.65);
  line-height: 1.55;
}

/* ── Fieldsets ───────────────────────────────────────────────────── */
form { padding: var(--sp-6) var(--sp-8); display: flex; flex-direction: column; gap: var(--sp-1); }
@media (max-width: 500px) { form { padding: var(--sp-5); } }

.form-section {
  border: none;
  padding: 0;
  margin: 0 0 var(--sp-5) 0;
}
.form-section legend {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.form-section legend::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--yellow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-base);
  color: var(--color-text);
  width: 100%;
  outline: none;
  font-family: var(--font-body);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107,122,58,0.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--olive);
  cursor: pointer;
  flex-shrink: 0;
}

/* Radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.radio-label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.radio-label input[type="radio"] {
  accent-color: var(--olive);
  cursor: pointer;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-2);
  line-height: 1.5;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: var(--text-sm);
  margin-top: var(--sp-2);
}

/* ── Success state ───────────────────────────────────────────────── */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  gap: var(--sp-4);
}
.form-success svg { color: var(--olive); }
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
}
.form-success p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65; }
.form-success a { color: var(--yellow); }
.form-success.active { display: flex; }
#form-inner.hidden { display: none; }
