/* solicitud-proyecto.php: friendly, non-technical project form. Plain CSS for PHP7/8 deployments. */
:root {
  --sp-bg: #0a0a0a;
  --sp-card: #111827;
  --sp-card-soft: #f8fafc;
  --sp-text: #0f172a;
  --sp-muted: #64748b;
  --sp-line: #e2e8f0;
  --sp-accent: #10b981;
  --sp-accent-dark: #059669;
  --sp-radius: 28px;
  --sp-shadow: 0 24px 80px rgba(2, 6, 23, 0.16);
}

.solicitud-proyecto-root {
  background: #f8fafc;
}

.sp-page {
  background: #f8fafc;
  color: var(--sp-text);
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sp-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.sp-section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.2), transparent 32%),
    radial-gradient(circle at 85% 5%, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(135deg, #020617 0%, #0a0a0a 55%, #03150f 100%);
  color: #fff;
}

.sp-hero {
  padding: 168px 0 84px;
}

.sp-hero__grid,
.sp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 40px;
  align-items: start;
}

.sp-hero__copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.sp-hero__copy p {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.55;
}

.sp-eyebrow,
.sp-card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--sp-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sp-eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sp-accent);
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.9);
}


.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.sp-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #020617;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(255, 255, 255, 0.16);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.sp-hero__button:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 24px 54px rgba(255, 255, 255, 0.2);
}

.sp-hero__button .material-symbols-outlined {
  font-size: 20px;
}

.sp-hero__link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 4px;
}

.sp-hero__link:hover {
  color: #fff;
  border-bottom-color: rgba(16, 185, 129, 0.8);
}

.sp-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sp-hero__chips span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}

.sp-hero-card,
.sp-side-panel > div,
.sp-form-card,
.sp-submit-card {
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
}

.sp-hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.sp-hero-card ol {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: grid;
  gap: 18px;
}

.sp-hero-card li {
  display: grid;
  gap: 4px;
  padding-left: 18px;
  border-left: 2px solid rgba(16, 185, 129, 0.55);
}

.sp-hero-card strong {
  color: #fff;
  font-size: 15px;
}

.sp-hero-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.sp-form-section {
  padding: 54px 0 88px;
  scroll-margin-top: 96px;
}

.sp-layout {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 28px;
}

.sp-side-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.sp-selected-case,
.sp-mini-list {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--sp-line);
}

.sp-selected-case h2 {
  margin: 0;
  color: var(--sp-text);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.sp-selected-case p {
  margin: 14px 0 0;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sp-selected-case .sp-muted {
  margin-top: 8px;
  color: var(--sp-accent-dark);
  font-weight: 800;
}

.sp-mini-list {
  display: grid;
  gap: 16px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.sp-mini-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sp-mini-list .material-symbols-outlined {
  color: var(--sp-accent-dark);
  font-size: 20px;
}

.sp-form {
  display: grid;
  gap: 18px;
}

.sp-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.sp-alert {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid;
  background: #fff;
}

.sp-alert strong {
  font-size: 14px;
}

.sp-alert span {
  color: #475569;
}

.sp-alert-success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.sp-alert-error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.sp-form-card,
.sp-submit-card {
  padding: clamp(22px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--sp-line);
}

.sp-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.sp-step > span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #ecfdf5;
  color: var(--sp-accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.sp-step h2 {
  margin: 0;
  color: var(--sp-text);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.sp-step p {
  margin: 8px 0 0;
  color: var(--sp-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sp-fields {
  display: grid;
  gap: 18px;
}

.sp-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-field {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  background: #f8fafc;
  color: var(--sp-text);
  padding: 15px 16px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.sp-field textarea {
  resize: vertical;
  line-height: 1.55;
}

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  border-color: rgba(16, 185, 129, 0.75);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.sp-field small {
  color: var(--sp-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.45;
  text-transform: none;
}

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

.sp-choice input,
.sp-tag input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sp-choice label {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--sp-line);
  border-radius: 20px;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.sp-choice label:hover,
.sp-tag label:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.55);
}

.sp-choice .material-symbols-outlined {
  color: var(--sp-accent-dark);
  font-size: 25px;
}

.sp-choice input:checked + label,
.sp-tag input:checked + label {
  border-color: rgba(16, 185, 129, 0.85);
  background: #ecfdf5;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.13);
  color: #064e3b;
}

.sp-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-tag {
  position: relative;
}

.sp-tag label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.sp-mt {
  margin-top: 22px;
}

.sp-submit-card {
  display: grid;
  gap: 18px;
  background: #0f172a;
  color: #fff;
}

.sp-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.sp-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--sp-accent);
}

.sp-consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sp-submit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 18px 24px;
  background: var(--sp-accent);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.26);
  transition: transform 150ms ease, filter 150ms ease;
}

.sp-submit-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.sp-submit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  text-align: center;
}

.sp-form .material-symbols-outlined,
.sp-page .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 24;
}

@media (max-width: 960px) {
  .sp-hero__grid,
  .sp-layout {
    grid-template-columns: 1fr;
  }

  .sp-side-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .sp-shell {
    width: min(100% - 24px, 1180px);
  }

  .sp-hero {
    padding: 130px 0 54px;
  }

  .sp-hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .sp-hero__button {
    width: 100%;
  }

  .sp-hero__link {
    align-self: center;
  }

  .sp-form-section {
    padding: 26px 0 56px;
  }

  .sp-fields--two,
  .sp-choice-grid {
    grid-template-columns: 1fr;
  }

  .sp-form-card,
  .sp-submit-card,
  .sp-selected-case,
  .sp-mini-list,
  .sp-hero-card {
    border-radius: 22px;
  }

  .sp-step {
    gap: 12px;
  }

  .sp-step > span {
    width: 40px;
    height: 40px;
  }
}

/* Guided selected-use-case flow */
.sp-selected-case--guided {
  overflow: hidden;
}

.sp-case-focus {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 20px;
  background: #ecfdf5;
}

.sp-case-focus strong {
  color: #064e3b;
  font-size: 14px;
  line-height: 1.25;
}

.sp-case-focus span {
  color: #047857;
  font-size: 13px;
  line-height: 1.55;
}

.sp-guidance-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.sp-guidance-list li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(16, 185, 129, 0.45);
}

.sp-guidance-list strong {
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-guidance-list span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.sp-inline-guidance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.sp-inline-guidance .material-symbols-outlined {
  color: var(--sp-accent-dark);
  font-size: 24px;
  margin-top: 1px;
}

.sp-inline-guidance strong {
  display: block;
  color: #064e3b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.sp-inline-guidance p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

/* CTA placement refinement: actions live under the "Lo importante" card content. */
.sp-hero__actions--card {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-hero__actions--card .sp-hero__button {
  flex: 1 1 210px;
}

.sp-hero__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.sp-hero__button--secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.sp-hero__copy .sp-hero__chips {
  margin-top: 34px;
}
